question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Each rating star should have its own title attribute with the rating number in it

See original GitHub issue

Describe the problem and steps to reproduce it:

  1. Go to an add-on detail page (eg https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/)
  2. Make sure you’re signed in so you can leave a review
  3. Hover over the rating stars to rate the add-on
  4. Note the title is the same across the entire set of stars

What happened?

The entire enclosing div (https://github.com/mozilla/addons-frontend/blob/master/src/ui/components/Rating/index.js) has the same title attribute (“Click to rate this add-on”).

What did you expect to happen?

Each star has its own title attribute like "Click to rate this add-on 1 out of 5".

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ioanarusiczkicommented, May 8, 2018

Verified fixed on AMO dev with FF59(Win10)

rating stars

I filed https://github.com/mozilla/addons-frontend/issues/4955 as an improvement of the actual behavior.

1reaction
caitmuenstercommented, Apr 20, 2018

Whoa that was an accident! Sorry @tofumatt, @ioanarusiczki, and @bobsilverberg – definitely did not mean to close this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

accessible attribute for rating for all people
I am trying to add accessiblity attribute to my OverallRating stars... can you tell me what attribute should i need to add... I...
Read more >
Star Rating Element - ThemeFusion | Avada Website Builder
The Star Rating Element allows you to add a manual or dynamic star rating anywhere in your content. You can use any icon...
Read more >
Frontend Developer Interview Question: Create a Star Rating ...
In this article, we will build a simple star rating UI with the use of plain HTML, ... The currentRating attribute should have...
Read more >
Star Ratings With JavaScript & Font Awesome - YouTube
In this Friday project we will build a star rating interface that takes a JavaScript object of 4K TVs with some ratings and...
Read more >
How To Create a Simple Star Rating with CSS
How TO - Star Rating ... Learn how to create a simple "star rating" look with CSS. ... Tip: Go to our Icons...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found