Closed Bug 1887789 Opened 7 months ago Closed 5 months ago

[UIA] Expose landmarks

Categories

(Core :: Disability Access APIs, task)

Desktop
Windows
task

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- fixed

People

(Reporter: Jamie, Assigned: Jamie)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

We need to expose landmarks to UIA clients. There is the UIA LandmarkType property, but it doesn't support all landmark types. For the ones it doesn't support, we might need to support LocalizedLandmarkType also. 😒

Assignee: nobody → jteh
  1. The ARIA role should take precedence over the HTML tag.
  2. The ARIA region role should only be conditionally treated as a landmark. Use the Gecko role to determine this.
  3. Change some other cases to use the Gecko role instead of directly checking the name for consistency and to avoid duplicated logic.

These fixes are tested in the next patch.

Pushed by jteh@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/670a7e6fd98d part 1: Fixes to Accessible::LandmarkRole. r=morgan https://hg.mozilla.org/integration/autoland/rev/c39acac075fa part 2: Implement the UIA LandmarkType property. r=morgan https://hg.mozilla.org/integration/autoland/rev/7b0ce9557ebf part 3: Implement the UIA LocalizedLandmarkType property. r=morgan
Regressions: 1895428

Backed out for causing wpt failures in form-roles.html

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | /wai-aria/role/form-roles.html | form without label - assert_equals: <nav role="form" data-testname="form without label" data-expectedrole="navigation" class="ex">x</nav> expected "navigation" but got "form"
Flags: needinfo?(jteh)
Flags: needinfo?(jteh)
Pushed by jteh@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/40a3f122dde0 part 1: Fixes to Accessible::LandmarkRole. r=morgan https://hg.mozilla.org/integration/autoland/rev/32c5edbdf7b9 part 2: Implement the UIA LandmarkType property. r=morgan https://hg.mozilla.org/integration/autoland/rev/1f8a1dd2ec36 part 3: Implement the UIA LocalizedLandmarkType property. r=morgan
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: