Closed Bug 1371712 Opened 7 years ago Closed 4 years ago

AXSubrole missing for ARIA landmark roles used on non-landmark HTML elements

Categories

(Core :: Disability Access APIs, enhancement, P3)

Unspecified
macOS
enhancement

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: jdiggs, Assigned: MarcoZ)

References

Details

(Whiteboard: [mac2020_1])

Attachments

(1 file)

Test case:
<html>
<head></head>
<body>
  <header aria-label="header element"></header>
  <div aria-label="banner role on div" role="banner"></div>
  <footer aria-label="footer element"></footer>
  <div aria-label="contentinfo role on div" role="contentinfo"></div>
  <aside aria-label="aside element"></aside>
  <div aria-label="complementary role on div" role="complementary"></div>
  <nav aria-label="nav element"></nav>
  <div aria-label="navigation role on div" role="navigation"></div>
</body>
</html>

When I view the above test case in macOS Sierra using XCode's Accessibility Inspector and VoiceOver running (to force accessibility support to be enabled), I only see AXSubrole Values (AXLandmarkBanner, AXLandmarkContentInfo, AXLandmarkComplementary, AXLandmarkNavigation) on the non-div elements.
This is something we should triage and fix but isn't among our most urgent bugs.(Contributions welcome as always!)
Priority: -- → P3
Whiteboard: [mac2020_1]
Assignee: nobody → mzehe
Status: NEW → ASSIGNED
Pushed by mzehe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/33a8c6b3a8e7
Fall through to ARIA landmark role determination if native landmark roles fail, r=eeejay
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: