From de58e32bb6c807002b393e50bc398d4d9bcaa1a9 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Fri, 11 Oct 2024 21:38:11 +0100 Subject: [PATCH 01/12] Add command & commandfor attribute related mappings --- html-aam/index.html | 131 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 131 insertions(+) diff --git a/html-aam/index.html b/html-aam/index.html index ca3f951e6..5f4d4f80b 100644 --- a/html-aam/index.html +++ b/html-aam/index.html @@ -9365,6 +9365,137 @@

`controls`

+

`command`

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
HTML Specification`command`
Element(s) + `button`; +
[[WAI-ARIA-1.2]] +
Not mapped
+
+ MSAA + IAccessible2 + +
Not mapped
+
UIA +
Not mapped
+
ATK +
Not mapped
+
AX +
Not mapped
+
CommentsThe value of this attribute can impact the mappings of its related `commandfor` attribute.
+

`commandfor`

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
HTML Specification`commandfor`
Element(s) + `button`; +
[[WAI-ARIA-1.2]] +
+

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

+

+ If the element with the `commandfor` attribute has a `command` attribute with value of "`show-popover`", or "`toggle-popover`" and + the associated element is hidden, or not present in the DOM: + `aria-expanded=false` +

+

+ If the element with the `commandfor` attribute has a `command` attribute with value of "`show-popover`", or "`toggle-popover`", and + the associated element is an accessibility ancestor of the element with the `commandfor` 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 except under the following + conditions: +

+
    +
  • The element's `command` attribute value is a value other than "`show-popover`" or "`toggle-popover`",
  • +
  • The associated popover element is the next immediate accessibility sibling to the invoking element,
  • +
  • The element's `command` attribute is in the "`toggle-popover`" state and the element is a descendant of the `popover` it is associated with.
  • + +
+

A button that a [=button/form owner=] without `type` in the "`button`" state cannot invoke a command.

+

`coords`

From a0fb231ee8f855282dba732283373373a50984ee Mon Sep 17 00:00:00 2001 From: keithamus Date: Fri, 11 Oct 2024 20:54:56 +0000 Subject: [PATCH 02/12] chore: prettier --- html-aam/index.html | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/html-aam/index.html b/html-aam/index.html index 5f4d4f80b..1312fec1a 100644 --- a/html-aam/index.html +++ b/html-aam/index.html @@ -9374,9 +9374,7 @@

`command`

- + @@ -9425,9 +9423,7 @@

`commandfor`

- + @@ -9438,13 +9434,13 @@

`commandfor`

`aria-expanded=true`

- If the element with the `commandfor` attribute has a `command` attribute with value of "`show-popover`", or "`toggle-popover`" and - the associated element is hidden, or not present in the DOM: + If the element with the `commandfor` attribute has a `command` attribute with value of "`show-popover`", or "`toggle-popover`" and the associated element is hidden, or not present + in the DOM: `aria-expanded=false`

- If the element with the `commandfor` attribute has a `command` attribute with value of "`show-popover`", or "`toggle-popover`", and - the associated element is an accessibility ancestor of the element with the `commandfor` attribute: + If the element with the `commandfor` attribute has a `command` attribute with value of "`show-popover`", or "`toggle-popover`", and the associated element is an accessibility + ancestor of the element with the `commandfor` attribute: `aria-expanded=undefined`

@@ -9482,8 +9478,7 @@

`commandfor`

- + From 0b1053cc9964dd49d29ee3ffe6cc99cd7f8e9972 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Thu, 17 Oct 2024 23:23:28 +0100 Subject: [PATCH 04/12] expand to 1 table per command attribute state --- html-aam/index.html | 438 +++++++++++++++++++++++++++++++------------- 1 file changed, 312 insertions(+), 126 deletions(-) diff --git a/html-aam/index.html b/html-aam/index.html index 21a8303cf..74bec6ece 100644 --- a/html-aam/index.html +++ b/html-aam/index.html @@ -1257,6 +1257,318 @@

`button`

Element(s) - `button`; - `button`;
[[WAI-ARIA-1.2]]
Element(s) - `button`; - `button`;
[[WAI-ARIA-1.2]] Comments

- User Agents MUST expose an `aria-details` relation with the associated element except under the following - conditions: + User Agents MUST expose an `aria-details` relation with the associated element except under the following conditions:

  • The element's `command` attribute value is a value other than "`show-popover`" or "`toggle-popover`",
  • From 503a46f9ba34c030727b8fd945d91f502080c8a9 Mon Sep 17 00:00:00 2001 From: Scott O'Hara Date: Thu, 17 Oct 2024 15:00:03 -0400 Subject: [PATCH 03/12] Update html-aam/index.html --- html-aam/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html-aam/index.html b/html-aam/index.html index 1312fec1a..21a8303cf 100644 --- a/html-aam/index.html +++ b/html-aam/index.html @@ -9374,7 +9374,7 @@

    `command`

Element(s)`button`;`button`;
[[WAI-ARIA-1.2]]
+

`button` (`command` attribute in the Toggle popover state)

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
HTML Specification + `button` + (`command` attribute in the Toggle popover state) +
[[WAI-ARIA-1.2]] + `button` role. +

+ 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 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 has a [=button/form owner=] without `type` in the "`button`" state cannot invoke a command.

+
+

`button` (`command` attribute in the Show popover state)

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
HTML Specification + `button` + (`command` attribute in the Show popover state) +
[[WAI-ARIA-1.2]] + `button` role. +

+ 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 NOT expose an `aria-details` relation with the associated element if the associated popover element is the next immediate accessibility sibling to the invoking element.

+

A button that has a [=button/form owner=] without `type` in the "`button`" state cannot invoke a command.

+
+

`button` (`command` attribute in the Hide popover state)

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
HTML Specification + `button` + (`command` attribute in the Hide popover state) +
[[WAI-ARIA-1.2]] + `button` role. +

+ 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 NOT expose an `aria-details` relation with the associated element if the associated popover element is the next immediate accessibility sibling to the invoking element.

+

A button that has a [=button/form owner=] without `type` in the "`button`" state cannot invoke a command.

+
+

`button` (`command` attribute in the Close state)

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
HTML Specification + `button` + (`command` attribute in the Close popover state) +
[[WAI-ARIA-1.2]] + `button` role. +

+ If the associated element is an open dialog: + `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
+
UIA +
Use WAI-ARIA mapping
+
ATK +
Use WAI-ARIA mapping
+
AX +
Use WAI-ARIA mapping
+
Comments +

A button that has a [=button/form owner=] without `type` in the "`button`" state cannot invoke a command.

+
+

`button` (`command` attribute in the Show modal state)

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
HTML Specification + `button` + (`command` attribute in the Show modal state) +
[[WAI-ARIA-1.2]]`button` role.
+ MSAA + IAccessible2 + +
Use WAI-ARIA mapping
+
UIA +
Use WAI-ARIA mapping
+
ATK +
Use WAI-ARIA mapping
+
AX +
Use WAI-ARIA mapping
+
Comments +

A button that has a [=button/form owner=] without `type` in the "`button`" state cannot invoke a command.

+

`canvas`

@@ -9365,132 +9677,6 @@

`controls`

-

`command`

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
HTML Specification`command`
Element(s)`button`;
[[WAI-ARIA-1.2]] -
Not mapped
-
- MSAA + IAccessible2 - -
Not mapped
-
UIA -
Not mapped
-
ATK -
Not mapped
-
AX -
Not mapped
-
CommentsThe value of this attribute can impact the mappings of its related `commandfor` attribute.
-

`commandfor`

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
HTML Specification`commandfor`
Element(s)`button`;
[[WAI-ARIA-1.2]] -
-

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

-

- If the element with the `commandfor` attribute has a `command` attribute with value of "`show-popover`", or "`toggle-popover`" and the associated element is hidden, or not present - in the DOM: - `aria-expanded=false` -

-

- If the element with the `commandfor` attribute has a `command` attribute with value of "`show-popover`", or "`toggle-popover`", and the associated element is an accessibility - ancestor of the element with the `commandfor` 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 except under the following conditions: -

-
    -
  • The element's `command` attribute value is a value other than "`show-popover`" or "`toggle-popover`",
  • -
  • The associated popover element is the next immediate accessibility sibling to the invoking element,
  • -
  • The element's `command` attribute is in the "`toggle-popover`" state and the element is a descendant of the `popover` it is associated with.
  • - -
-

A button that a [=button/form owner=] without `type` in the "`button`" state cannot invoke a command.

-

`coords`

From f94c4c3f578f9467e168897b897273c547fab260 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Fri, 18 Oct 2024 16:15:07 +0100 Subject: [PATCH 05/12] fix typo --- html-aam/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html-aam/index.html b/html-aam/index.html index 74bec6ece..81de03abc 100644 --- a/html-aam/index.html +++ b/html-aam/index.html @@ -1466,7 +1466,7 @@

`button` (`command` at

From bf0440a8a1ffc429dcb5eca351558e960b1b2f78 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Fri, 18 Oct 2024 16:41:19 +0100 Subject: [PATCH 06/12] rephrase MUST NOTs to MUST EXCEPT --- html-aam/index.html | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/html-aam/index.html b/html-aam/index.html index 81de03abc..6821aebfd 100644 --- a/html-aam/index.html +++ b/html-aam/index.html @@ -1388,7 +1388,12 @@

`button` (`comma

@@ -1453,7 +1458,12 @@

`button` (`comma

From 733c39e6ee5cefb0a083f38a6a1ee435f2ac0de2 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Wed, 4 Dec 2024 09:45:10 +0000 Subject: [PATCH 07/12] correct note around submit buttons and command attributes --- html-aam/index.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/html-aam/index.html b/html-aam/index.html index 6821aebfd..8fa140cbd 100644 --- a/html-aam/index.html +++ b/html-aam/index.html @@ -1324,7 +1324,7 @@

`button` (`com
  • The element is a descendant of the `popover` it is associated with.
  • -

    A button that has a [=button/form owner=] without `type` in the "`button`" state cannot invoke a command.

    +

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

    @@ -1394,7 +1394,7 @@

    `button` (`comma
    • The associated popover element is the next immediate accessibility sibling to the invoking element,
    -

    A button that has a [=button/form owner=] without `type` in the "`button`" state cannot invoke a command.

    +

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

    @@ -1464,7 +1464,7 @@

    `button` (`comma
    • The associated popover element is the next immediate accessibility sibling to the invoking element,
    -

    A button that has a [=button/form owner=] without `type` in the "`button`" state cannot invoke a command.

    +

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

    @@ -1526,7 +1526,7 @@

    `button` (`command` at

    @@ -1574,7 +1574,7 @@

    `button` (`command

    From 683691db58317dcc7ac425e47ff219991f81e93b Mon Sep 17 00:00:00 2001 From: Scott O'Hara Date: Tue, 10 Dec 2024 10:55:32 -0500 Subject: [PATCH 08/12] Consolidate button command popover states taking aaron's feedback, re-combined the popover commands into a single table, since they all should match. similarly, combined the close and show-modal into a single table - as these also should have matched. this means i removed all the extra aria-expanded mappings that were in the close command. but we dont need these. a close button won't exist outside of a modal dialog, since it'd be inert. and we don't need expanded states on the close button, because someone is already within the dialog. --- html-aam/index.html | 219 +++----------------------------------------- 1 file changed, 13 insertions(+), 206 deletions(-) diff --git a/html-aam/index.html b/html-aam/index.html index 8fa140cbd..8be882ece 100644 --- a/html-aam/index.html +++ b/html-aam/index.html @@ -1257,14 +1257,19 @@

    `button`

    HTML Specification `button` - (`command` attribute in the Close popover state) + (`command` attribute in the Close state)
    Comments -

    User Agents MUST NOT expose an `aria-details` relation with the associated element if the associated popover element is the next immediate accessibility sibling to the invoking element.

    +

    User Agents MUST expose an `aria-details` relation with the associated element except under the following + conditions: +

    +
      +
    • The associated popover element is the next immediate accessibility sibling to the invoking element,
    • +

    A button that has a [=button/form owner=] without `type` in the "`button`" state cannot invoke a command.

    Comments -

    User Agents MUST NOT expose an `aria-details` relation with the associated element if the associated popover element is the next immediate accessibility sibling to the invoking element.

    +

    User Agents MUST expose an `aria-details` relation with the associated element except under the following + conditions: +

    +
      +
    • The associated popover element is the next immediate accessibility sibling to the invoking element,
    • +

    A button that has a [=button/form owner=] without `type` in the "`button`" state cannot invoke a command.

    Comments -

    A button that has a [=button/form owner=] without `type` in the "`button`" state cannot invoke a command.

    +

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

    Comments -

    A button that has a [=button/form owner=] without `type` in the "`button`" state cannot invoke a command.

    +

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

    -

    `button` (`command` attribute in the Toggle popover state)

    - +

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

    +
    @@ -1329,222 +1334,24 @@

    `button` (`com

    HTML Specification `button` - (`command` attribute in the Toggle popover state) + + (`command` attribute in the + Toggle popover state + Show popover state + Hide popover state) +
    -

    `button` (`command` attribute in the Show popover state)

    - +

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

    +
    - - - - - - - - - - - - - - - - - - - - - - -
    HTML Specification `button` - (`command` attribute in the Show popover state) + (`command` attribute in the + Close state) + Show Modal state)
    [[WAI-ARIA-1.2]] `button` role. -

    - 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 except under the following - conditions: -

    -
      -
    • The associated popover element is the next immediate accessibility sibling to the invoking element,
    • -
    -

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

    -
    -

    `button` (`command` attribute in the Hide popover state)

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    HTML Specification - `button` - (`command` attribute in the Hide popover state) -
    [[WAI-ARIA-1.2]] - `button` role. -

    - 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 except under the following - conditions: -

    -
      -
    • The associated popover element is the next immediate accessibility sibling to the invoking element,
    • -
    -

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

    -
    -

    `button` (`command` attribute in the Close state)

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    HTML Specification - `button` - (`command` attribute in the Close state) -
    [[WAI-ARIA-1.2]] - `button` role. -

    - If the associated element is an open dialog: - `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
    -
    UIA -
    Use WAI-ARIA mapping
    -
    ATK -
    Use WAI-ARIA mapping
    -
    AX -
    Use WAI-ARIA mapping
    -
    Comments -

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

    -
    -

    `button` (`command` attribute in the Show modal state)

    - - - - - - - - - -
    HTML Specification - `button` - (`command` attribute in the Show modal state) -
    [[WAI-ARIA-1.2]]`button` role.
    MSAA + IAccessible2 From eb740360efea47e09c52e92525537b52eacef18b Mon Sep 17 00:00:00 2001 From: Scott O'Hara Date: Tue, 10 Dec 2024 13:59:47 -0500 Subject: [PATCH 09/12] 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`

    From 86d1225fa27e59ad9a453048d5a3fcf19810e29c Mon Sep 17 00:00:00 2001 From: Scott O'Hara Date: Tue, 10 Dec 2024 14:16:47 -0500 Subject: [PATCH 10/12] fix headings --- html-aam/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html-aam/index.html b/html-aam/index.html index 4b1e9539d..229c6163b 100644 --- a/html-aam/index.html +++ b/html-aam/index.html @@ -9313,7 +9313,7 @@

    `colspan`

    -

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

    +

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

    @@ -9393,7 +9393,7 @@

    `button` (`command` attri

    -

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

    +

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

    From 793899b6566a3f56ab589733b8925e52543a3b1b Mon Sep 17 00:00:00 2001 From: Scott O'Hara Date: Tue, 10 Dec 2024 14:27:20 -0500 Subject: [PATCH 11/12] fix up attr titling, remove prior role mapping tables --- html-aam/index.html | 152 ++++---------------------------------------- 1 file changed, 12 insertions(+), 140 deletions(-) diff --git a/html-aam/index.html b/html-aam/index.html index 229c6163b..ff15af643 100644 --- a/html-aam/index.html +++ b/html-aam/index.html @@ -1257,135 +1257,6 @@

    `button`

    -

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

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    HTML Specification - `button` - - (`command` attribute in the - Toggle popover state - Show popover state - Hide popover state) - -
    [[WAI-ARIA-1.2]] - `button` role. -

    - 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 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 - `button` - (`command` attribute in the - Close state) - Show Modal state) -
    [[WAI-ARIA-1.2]] - `button` role. -
    - MSAA + IAccessible2 - -
    Use WAI-ARIA mapping
    -
    UIA -
    Use WAI-ARIA mapping
    -
    ATK -
    Use WAI-ARIA mapping
    -
    AX -
    Use WAI-ARIA mapping
    -
    Comments -

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

    -

    `canvas`

    @@ -9320,17 +9191,18 @@

    `command` (in the Toggle

    @@ -9399,16 +9271,16 @@

    `command` (in the Close a

    @@ -9453,7 +9325,7 @@

    `command` (in the Close a

    HTML Specification - (`command` in the - Toggle popover state - Show popover state and - Hide popover state) + `command`
    Element(s) - `button` + `button` + (`command` in the + Toggle popover state + Show popover state and + Hide popover state)
    HTML Specification - - (`command` in the - Close state) and - Show Modal state) + `command`
    Element(s) - `button` + `button` + (`command` in the + Close state) and + Show Modal state)
    -

    `command`

    +

    `commandfor`

    From ea141518c14865beb1da76cd39147fdbda378e1e Mon Sep 17 00:00:00 2001 From: Scott O'Hara Date: Tue, 10 Dec 2024 14:50:02 -0500 Subject: [PATCH 12/12] Update html-aam/index.html --- html-aam/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html-aam/index.html b/html-aam/index.html index ff15af643..0316517de 100644 --- a/html-aam/index.html +++ b/html-aam/index.html @@ -9375,7 +9375,7 @@

    `commandfor`

    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 + The specified `command` state will determine if a relationship mapping needs to be exposed between the `button` and its programmatically associated element.