From eb740360efea47e09c52e92525537b52eacef18b Mon Sep 17 00:00:00 2001 From: Scott O'Hara Date: Tue, 10 Dec 2024 13:59:47 -0500 Subject: [PATCH] move command tables to attribute section moves the command tables to the attributes section. otherwise, a new table for command would have been necessary, and it would have then just pointed to these other tables. so, moving them down here negates the need for that. adds the commandfor attribute mapping table --- html-aam/index.html | 197 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 197 insertions(+) diff --git a/html-aam/index.html b/html-aam/index.html index 8be882ece..4b1e9539d 100644 --- a/html-aam/index.html +++ b/html-aam/index.html @@ -9313,6 +9313,203 @@

`colspan`

+

`button` (`command` attribute in the Toggle, Show, and Hide popover states)

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
HTML Specification + + (`command` in the + Toggle popover state + Show popover state and + Hide popover state) + +
Element(s) + `button` +
[[WAI-ARIA-1.2]] +

+ If the associated element is displayed as a popover: + `aria-expanded=true` +

+

+ If the the associated element is hidden, or not present in the DOM: + `aria-expanded=false` +

+

+ If the the associated element is an accessibility ancestor of the element with the `command` attribute: + `aria-expanded=undefined` +

+
+ MSAA + IAccessible2 + +
Use WAI-ARIA mapping
+
Object attributes: `details-roles:popover`
+
UIA +
Use WAI-ARIA mapping
+
ATK +
Use WAI-ARIA mapping
+
Object attributes: `details-roles:popover`
+
AX +
Use WAI-ARIA mapping
+
Comments +

+ User Agents MUST expose an `aria-details` relation with the associated element (identified via the specified `commandfor` attribute) except under the following conditions: +

+
    +
  • The associated popover element is the next immediate accessibility sibling to the invoking element,
  • +
  • The element is a descendant of the `popover` it is associated with.
  • +
+

A button that represents a submit button with a [=button/form owner=] cannot invoke a command.

+
+

`button` (`command` attribute in the Close and Show Modal states)

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
HTML Specification + + (`command` in the + Close state) and + Show Modal state) +
Element(s) + `button` +
[[WAI-ARIA-1.2]] +
+ A `command` attribute in the `close` and `show-modal` states provide no additional accessibility mappings to the `button` element. +
+
+ MSAA + IAccessible2 + +
Not mapped
+
UIA +
Not mapped
+
ATK +
Not mapped
+
AX +
Not mapped
+
Comments +

A button that represents a submit button with a [=button/form owner=] cannot invoke a command.

+
+

`command`

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
HTML Specification`commandfor`
Element(s) + `button` +
[[WAI-ARIA-1.2]] +
See comments
+
+ MSAA + IAccessible2 + +
See comments
+
UIA +
See comments
+
ATK +
See comments
+
AX +
See comments
+
Comments +

The `commandfor` attribute identifies the associated element for the `button` element.

+

+ The specified `command` will indicate if a mapping needs to be exposed between the `button` and + its programmatically associated element. +

+

`content`