The Star ratings from the Shopping sidebar are not read out loud by the NVDA
Categories
(Firefox Graveyard :: Shopping, defect, P2)
Tracking
(Accessibility Severity:s2, firefox-esr102 unaffected, firefox-esr115 unaffected, firefox116 unaffected, firefox117 disabled, firefox118 disabled, firefox119 verified)
| Tracking | Status | |
|---|---|---|
| firefox-esr102 | --- | unaffected |
| firefox-esr115 | --- | unaffected |
| firefox116 | --- | unaffected |
| firefox117 | --- | disabled |
| firefox118 | --- | disabled |
| firefox119 | --- | verified |
People
(Reporter: rdoghi, Assigned: ayeddi)
References
Details
(Keywords: access, Whiteboard: [fidefe-shopping])
Attachments
(1 file)
Found in
- Nightly 118.0a1 (2023-08-21)
Affected versions
- Nightly 118.0a1 (2023-08-21)
Affected platforms
- Windows
Preconditions:
Set the browser.shopping.experience2023.enabled - TRUE
Set the browser.shopping.experience2023.optedIn - 1
Enable NVDA.
Steps to reproduce
- Reach the following links https://www.amazon.com/dp/B07V6ZSHF4?th=1
- Hover the mouse cursor on top of the Star Ratings of the "Adjusted rating" card and "More to Consider" card.
Expected result
- The Star ratings should be read out loud by NVDA.
Actual result
- The Star ratings are not read out loud by NVDA.
Regression range
Not Applicable
Comment 1•3 years ago
|
||
:rdoghi, if you think that's a regression, could you try to find a regression range using for example mozregression?
Updated•3 years ago
|
Updated•3 years ago
|
Comment 2•3 years ago
•
|
||
Anna, do you know what is going on here? There's a <div> with a title attribute so I would have expected that to have been read, but it appears that does not work. Perhaps it would need a role of some kind (if so, what would be appropriate)? And/or the title attribute needs mirroring to the moz-five-stars element as an aria-label attribute?
| Assignee | ||
Comment 3•3 years ago
|
||
(In reply to :Gijs (he/him) from comment #2)
Anna, do you know what is going on here? There's a <div> with a title attribute so I would have expected that to have been read, but it appears that does not work. Perhaps it would need a role of some kind (if so, what would be appropriate)? And/or the title attribute needs mirroring to the
moz-five-starselement as an aria-label attribute?
Great catch, @Rares! Thank you
@Gijs, you are right, at the moment the moz-five-stars element does not have any role this it’s title is being ignored by the Accessibility API. Adding role=“image" to it fixed both the lack of semantic role and textual alternative issues.
Comment 4•3 years ago
|
||
Given how critical the rating is to the whole shopping experience, I think having it be read out / accessible to AT users is more than an S3.
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 5•3 years ago
|
||
Priving an accessible role to the moz-five-star-rating wrapper to ensure its title/aria-label is not ignored by the Accessibility API and that its value will be announced on hover when a screen reader like NVDA is running too.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
Comment 7•3 years ago
|
||
| bugherder | ||
Comment 8•3 years ago
|
||
The patch landed in nightly and beta is affected.
:ayeddi, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox118towontfix.
For more information, please visit BugBot documentation.
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
Comment 9•3 years ago
|
||
Star-ratings are read by NVDA accordingly, I have verified this using Firefox Nightly 119.0a1 (20230912041249) on Windows 10 x64.
Updated•1 year ago
|
Description
•