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
<rdar://problem/87391915>
here is a test case https://scottaohara.github.io/testing/aside/
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.
Did this change make it into a WPT computedrole test?
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
Pull request: https://github.com/WebKit/WebKit/pull/20013
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/43028
Committed 270509@main (47f7deca4cff): <https://commits.webkit.org/270509@main> Reviewed commits have been landed. Closing PR #20013 and removing active labels.