Bug 235065
Summary: | AX: HTML AAM Update to aside mapping | ||
---|---|---|---|
Product: | WebKit | Reporter: | Scott <scottaohara> |
Component: | Accessibility | Assignee: | Joone Hur <joone> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | andresg_22, aroselli, jcraig, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://github.com/web-platform-tests/wpt/pull/43028 |
Scott
HTML AAM issue https://github.com/w3c/html-aam/pull/350 revises the mapping of the aside element.
When an aside is scoped to the body element, or main element - allowing generic or presentational elements as ancestors - the aside element would map to the complementary landmark.
some examples:
body
div
aside = complementary
or
body
main
aside = complementary
or
body
div
main
section role=presentation
aside = complementary
Otherwise, if not scoped to the body or the main element, the aside element would map to the generic role.
body
main
section
aside = generic
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/87391915>
Scott
here is a test case https://scottaohara.github.io/testing/aside/
Scott
Note: test case has been updated to include instances of where aside would need to map to role=complementary because it has been given an accessible name. This is not a new change per the update to HTML AAM, but I had forgotten to provide an example in the test case.
James Craig
Did this change make it into a WPT computedrole test?
James Craig
I think this needs an update to the following test:
https://wpt.fyi/results/html-aam/roles-contextual.html?label=master&label=experimental&aligned&q=label%3Aaccessibility
https://github.com/web-platform-tests/wpt/blob/master/html-aam/roles-contextual.html
Joone Hur
Pull request: https://github.com/WebKit/WebKit/pull/20013
Joone Hur
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/43028
EWS
Committed 270509@main (47f7deca4cff): <https://commits.webkit.org/270509@main>
Reviewed commits have been landed. Closing PR #20013 and removing active labels.