BETA badge on the Select Translations panel is hidden from assistive technology
Categories
(Firefox :: Translations, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox127 | --- | verified |
People
(Reporter: ayeddi, Assigned: ayeddi)
References
Details
(Keywords: access)
Attachments
(2 files)
STR:
- Ensure
browser.translations.select.enable
is set totrue
in the about:config - Ensure a screen reader is running
- Navigate to a page in a language different from the OS, i.e. for English machine:
data:text/html,<p lang="es_ES">Como estas?</p>
or https://ru.wikipedia.org/wiki/%D0%A2%D0%B5%D0%BE%D1%80%D0%B8%D1%8F_%D0%BB%D0%BE%D0%B6%D0%B5%D0%BA - Select a text (using mouse, likely, because screen readers are not yet supporting static text selection) and open a context menu/right click
- Navigate to and activate
Translate Selection to English
- With a screen reader, navigate to the heading of the dialog and observe the screen reader announcements:
Expected:
- The
BETA
badge is announced by a screen reader. Ideally, as a part of the heading announcement, but as a separate element would also be appropriate.
Actual:
- The
BETA
badge is hidden from assistive technology. Users of screen readers would not know that the feature is still, in fact, in Beta.
Remediation:
- Ensure the image is marked up as informative. Since this
<image>
is wrapped in anhbox
, try addingrole=image
andaria-label="Beta"
to the<hbox>
. - Another way is to include
Beta
in the<h1>
announcement
Updated•7 months ago
|
Assignee | ||
Comment 1•7 months ago
|
||
Ensuring the image is marked up as informative. Since this <image>
is wrapped in an hbox
, try adding role=image
and aria-label="Beta"
to the <hbox>
.
Following up on the Full Page Translations pattern, the word Beta
used in the label is not localized, as it is a reflection of the un-localized BETA icon that is in the panel and the icon is not translated.
Updated•7 months ago
|
Updated•7 months ago
|
Comment 3•7 months ago
|
||
bugherder |
Updated•7 months ago
|
Comment 4•6 months ago
|
||
Hi Anna Yedd! I've checked this fix with Windows 11 and I can confirm on Beta 127.0b7 that the BETA badge is read by the screen reader as soon as the context menu for translation is opened.
However on macOS 13 the Beta badge is not announced by the screen reader, can you please take a look at this?
Assignee | ||
Comment 5•6 months ago
|
||
(In reply to Ciprian Georgiu, Desktop QA from comment #4)
Hi Anna Yedd! I've checked this fix with Windows 11 and I can confirm on Beta 127.0b7 that the BETA badge is read by the screen reader as soon as the context menu for translation is opened.
However on macOS 13 the Beta badge is not announced by the screen reader, can you please take a look at this?
Thank you for confirming this!
On macOS, the VoiceOver is not announcing it because the image is not a part of the dialog heading, but when reviewing the dialog with VO
+arrow navigation, the image is now not skipped by VO, but focused separately and announced as beta, image
. I hope it helps.
Comment 6•6 months ago
|
||
Thanks, Anna! Yes, it does. I can confirm that the VO announce the beta, image
when focused with Beta 127.0b8, macOS 14.
Description
•