Failing WPT wai-aria/role/contextual-roles.html contentinfo region scoped to main element is generic
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox125 | --- | fixed |
People
(Reporter: twisniewski, Assigned: Jamie)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
See https://wpt.fyi/results/wai-aria/role/contextual-roles.html
We're failing the test "contentinfo region scoped to main element is generic"
Assignee | ||
Updated•8 months ago
|
Assignee | ||
Comment 1•8 months ago
|
||
I don't see anywhere in the spec which requires this. HTML-AAM says footer scoped to main element should be generic, but even though HTML footer maps to ARIA contentinfo, nothing I can see says that ARIA contentinfo maps back to footer HTML. I'm asking for clarification on this.
Assignee | ||
Comment 2•8 months ago
•
|
||
I asked on the web-a11y Slack. Scott O'Hara replied: "that test isn’t correct. It’s only the footer element that has the contextual role. That specific test should be removed".
We should submit a PR to remove that test.
Updated•8 months ago
|
Assignee | ||
Comment 3•8 months ago
|
||
Per the HTML-AAM spec, the contextual role restriction only applies to the <footer> element, not to any other instance of the ARIA contentinfo role.
Even though <footer> maps to contentinfo, contentinfo does not necessarily map to <footer>.
Thus, this test is incorrect.
Updated•8 months ago
|
Comment 6•7 months ago
|
||
bugherder |
Description
•