From 07fa950607384a7661356df77e845a0ecbf98e71 Mon Sep 17 00:00:00 2001 From: Scott O'Hara Date: Fri, 22 Nov 2024 17:09:58 -0500 Subject: [PATCH] combining things pull comments into role table cell combine custom elements and form associated custom elements into a single mapping table --- html-aam/index.html | 94 +++++++++------------------------------------ 1 file changed, 18 insertions(+), 76 deletions(-) diff --git a/html-aam/index.html b/html-aam/index.html index e192e9a55..3aaf0714b 100644 --- a/html-aam/index.html +++ b/html-aam/index.html @@ -805,29 +805,33 @@

`audio`

-

autonomous custom element

+

+ autonomous custom elements + and + form-associated custom elements +

@@ -862,20 +866,8 @@

autonomous custom element

- - + +
HTML Specification autonomous custom element + and + form-associated custom element
[[wai-aria-1.2]] -

- If the author assigned a conforming ARIA role using the `role` attribute, - or by the custom element's internals, map to the specified role. -

-

- If the author assigned attributes that result in a minimum role, then map - to the minimum role (see comments). -

-

- Otherwise, the element maps to the `none` role. -

+
    +
  • If the author assigned a conforming ARIA role using the `role` attribute, or by the custom element's internals, map to the specified role.
  • +
  • else if the author assigned HTML attributes that result in a minimum role, then map to the minimum role.
  • +
  • else if the custom element is focusable: expose the `group` role
  • +
  • else if an author specifies an ARIA attribute on the custom element that creates a relation with another element: expose the `group` role
  • +
  • else if the custom element has an `aria-live` attribute: expose the `generic` role
  • +
  • else if element internals are used to set a global ARIA property: expose the `generic` role.
  • +
  • Otherwise, the element maps to the `none` role.
  • +
Comments -

- Along with the attributes defined in this specification that participate in modifying an element's minimum role, - the following conditions will also alter a custom element's computed role, if an author has not otherwise specified an - explicit role for the element: -

-
    -
  • if the custom element is focusable: expose the `group` role
  • -
  • else if an author specifies an ARIA attribute on the custom element that creates a relation with another element: expose the `group` role
  • -
  • else if the custom element has an `aria-live` attribute: expose the `generic` role
  • -
  • else if element internals are used to set a global ARIA property: expose the `generic` role
  • -
-
Comments
@@ -2549,56 +2541,6 @@

`form`

-

form-associated custom element

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
HTML Specification - form-associated custom element -
[[wai-aria-1.2]]If the author assigned a conforming ARIA role using the `role` attribute, map to that role. Otherwise, the `generic` role.
Computed Role
Use WAI-ARIA mapping
- MSAA + IAccessible2 - -
Use WAI-ARIA mapping
-
UIA -
Use WAI-ARIA mapping
-
ATK -
Use WAI-ARIA mapping
-
AX -
Use WAI-ARIA mapping
-
Comments

`h1`, `h2`, `h3`, `h4`, `h5`, and `h6`