Rating: RatingIcon has tabindex=0 when parent Rating component is disabled
See original GitHub issueBug Report
Steps
<Rating rating={1} maxRating={5} disabled size="large" />
Expected Result
Since the parent <Rating> component is disabled, it doesn’t make sense to be able to use the keyboard to focus the individual rating icons.
Actual Result
The individual rating icons have tabindex=0 so they can be reached via the keyboard.
Version
0.83.0
Testcase
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
tabindex -1 not working for child elements - Stack Overflow
Setting tabindex="-1" allows you to set an element's focus with script, but does not put it in the tab order of the page....
Read more >ESRB Ratings | Entertainment Software Ratings Board
ESRB ratings provide information about what's in a game or app so parents and consumers can make informed choices about which games are...
Read more >Parent reviews, Family reviews | Common Sense Media
Get age appropriate reviews of movies, books, apps, TV shows, video games, websites, youtube, and podcasts by our expert editors.
Read more >Rating control in Power Apps - Microsoft Learn
A control with which users can indicate a value between 1 and a maximum number that you specify. Description. In this control, the...
Read more >Age-Appropriate Media: Can You Trust Parental Guidance ...
Studies show that government and industry movie ratings have become more lenient over time. More violent and sexually explicit content are allowed into...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

PR created! 😃
Thank you!