Mistake in JavaScript page description

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

Nobody has claimed this yet.

Assessment

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

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.

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.

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

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.

More from plotly/graphing-library-docs

All issues in plotly/graphing-library-docs

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.