Bug 235065 - AX: HTML AAM Update to aside mapping
Summary: AX: HTML AAM Update to aside mapping
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-01-11 04:43 PST by Scott
Modified: 2022-02-06 15:22 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott 2022-01-11 04:43:19 PST
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
Comment 1 Radar WebKit Bug Importer 2022-01-11 04:43:28 PST
<rdar://problem/87391915>
Comment 2 Scott 2022-01-11 05:24:35 PST
here is a test case https://scottaohara.github.io/testing/aside/
Comment 3 Scott 2022-02-06 15:22:39 PST
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.