Closed Bug 1655084 Opened 4 years ago Closed 4 years ago

VoiceOver doesn't read aria-label on <nav> and aria-labelledby on a <div> with role="region"

Categories

(Core :: Disability Access APIs, defect, P1)

All
macOS
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: emcminn, Unassigned)

Details

(Whiteboard: [mac2020_1])

Attachments

(1 file)

This came up during an a11y audit of the new about:welcome pages.

In this patch, the topsites images on the import page point to the footer at the bottom of the page with aria-labelledby. VoiceOver reads the text in the footer after reading the rest of the page, instead of the aria-labelledby.

VoiceOver also fails to read the "Getting started: step x of y" aria-label on the <nav> element at the bottom of about:welcome.

(This patch has landed, so it should be able to be tested by opening about:welcome on a new profile of Nightly. If the footer isn't there, make sure the value of browser.aboutwelcome.overrideContent in about:config is set to the JSON posted in the attachment.)

Summary: VoiceOver doesn't read aria-label and aria-labelledby on a <div> with role="region" → VoiceOver doesn't read aria-label on <nav> and aria-labelledby on a <div> with role="region"

Marking this as S2/P1 since it fits our goal of having good role/label mapping in mac.

Severity: -- → S2
OS: Unspecified → macOS
Priority: -- → P1
Hardware: Unspecified → All
Whiteboard: [mac2020_1]

This works for me now. Note, that #topsites-disclaimer seems to not exist there anymore. But this HTML works with VoiceOver as expected - i can hear the name of the region and the label on the nav:

data:text/html,<div role="region" aria-label="this is are region">some stuff</div><nav aria-label="this is a nav element">more nav stuff</nav>

Emily, sorry this took a while. Can you confirm that this issue has been resolved? Thanks!

Flags: needinfo?(emcminn)

Hi Eitan, thanks for looking at this! The #topsites-disclaimer has actually been removed in the current incarnation of about:welcome; so it's fine that you're not hearing it! I've verified that the Getting Started label on the nav is now being picked up correctly, so I'd say we're good. :)

Flags: needinfo?(emcminn)

Awesome, thanks! I'll close as Works for Me.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: