Closed Bug 1878363 Opened 5 months ago Closed 4 months ago

Failing WPT wai-aria/role/contextual-roles.html contentinfo region scoped to main element is generic

Categories

(Core :: Disability Access APIs, defect)

defect

Tracking

()

RESOLVED FIXED
125 Branch
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"

Summary: Failing WPT wai-aria/role/contextual-roles.html → Failing WPT wai-aria/role/contextual-roles.html contentinfo region scoped to main element is generic

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.

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.

Severity: -- → S4

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.

Assignee: nobody → jteh
Status: NEW → ASSIGNED
Pushed by jteh@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5c67e50b7358
Remove "contentinfo region scoped to main element is generic" WPT test. r=nlapre
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/44642 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: