Closed Bug 614572 Opened 14 years ago Closed 6 years ago

MAP html:aside, footer and header scoped to the body element, main and nav to IA2 role landmark.

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: davidb, Assigned: MarcoZ)

References

(Blocks 2 open bugs)

Details

(Whiteboard: ment)

Attachments

(1 file)

This is contingent on IA2 1.2.1 point release introducing a new role that is distinct from IA2_ROLE_NOTE.

We still need to figure out how to normalize how we expose aria role=complementary and how we expose html:aside.
David, gfb or mentored thing?
(In reply to alexander :surkov from comment #1)
> David, gfb or mentored thing?

Yeah.
Blocks: aria
No longer blocks: IA2_1.3
Depends on: IA2_1.3
Blocks: ia2
Assignee: dbolter → nobody
Whiteboard: ment
Note we currently map html:aside internally to ROLE_NOTE (and IA2_ROLE_NOTE).
I'm not clear on what should be done here. It looks like we follow the spec [1]

[1] file:///Users/alex/mozilla/html-api-map/index.html
We already map the ARIA complementary role to IA2_ROLE_LANDMARK, as per https://www.w3.org/TR/core-aam-1.1/#role-map-complementary. However, html:aside is not mapped to the same role, even though the HTML Accessibility API mapping spec says so: https://www.w3.org/TR/html-aam-1.0/#html-element-role-mappings.

The same is true for navigation: https://www.w3.org/TR/core-aam-1.1/#role-map-navigation, or rather its corresponding nav element, header, footer (both scoped to the body element), and main.
Assignee: nobody → mzehe
Status: NEW → ASSIGNED
Summary: MAP html:aside to IA2 role complementary → MAP html:aside, footer and header scoped to the body element, main and nav to IA2 role landmark.
According to the HTML Accessibility API mappings spec, aside, footer, header, main and nav elements should be mapped to the WAI-ARIA landmark role exposure. For footer and header, this is only true if scoped to the body element.

This patch changes the exposed roles to the new landmark mapping for the various platforms, as we already do for the corresponding WAI-ARIA roles.
Pushed by mzehe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8ad2b19be6b9
Expose the correct new landmark role for HTML aside, header, footer, main and nav elements, r=Jamie
https://hg.mozilla.org/mozilla-central/rev/8ad2b19be6b9
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: