plotly / plotly/graphing-library-docs

Mistake in JavaScript page description

Open
#406 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
59
Forks
72
Avg merge
1d 19h
Merged PRs (30d)
3

Description

Not really sure where to report this? But I happened to notice that https://plotly.com/javascript/ has an error in the meta description tags.

<meta name="description" content=A free open source interactive javascript graphing library. Plotly.js is built on d3.js and webgl and supports over 20 types of interactive charts.>
<meta property="og:description" content=A free open source interactive javascript graphing library. Plotly.js is built on d3.js and webgl and supports over 20 types of interactive charts./>
<meta name="twitter:description" content=A free open source interactive javascript graphing library. Plotly.js is built on d3.js and webgl and supports over 20 types of interactive charts./>

These 3 tags have no quotes around the content, so it actually resolves to the following, leading to embeds showing the description as "A."

<meta name="description" content="A" free="" open="" source="" interactive="" javascript="" graphing="" library.="" plotly.js="" is="" built="" on="" d3.js="" and="" webgl="" supports="" over="" 20="" types="" of="" charts.="">

I'm not exactly sure what went wrong or if it's present on other pages, but I figured I might as well let you know.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect the page source for https://plotly.com/javascript/ and locate the description, og:description, and twitter:description meta tags. Correct the malformed content attributes, then verify that the rendered tags contain the full description and that embeds no longer show only “A.”

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.