From 3af3bae957eb534b62d6b395b77d8559e4aa299a Mon Sep 17 00:00:00 2001 From: Scott O'Hara Date: Fri, 8 Nov 2024 17:49:44 -0500 Subject: [PATCH] Update: clarify / expand value attribute mappings replacement for https://github.com/w3c/html-aam/pull/396 closes https://github.com/w3c/html-aam/issues/314 --- html-aam/index.html | 223 ++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 206 insertions(+), 17 deletions(-) diff --git a/html-aam/index.html b/html-aam/index.html index ca3f951e6..544cdb230 100644 --- a/html-aam/index.html +++ b/html-aam/index.html @@ -7951,6 +7951,9 @@

HTML Attribute State and Property Mappings

  • All elements having an accessible object in IAccessible2 mapping are supposed to implement IAccessible, IAccessible2 and IAccessible2_2 interfaces.
  • +
  • + User interaction with certain HTML elements will set an element's dirty value flag. For these elements which are identified in [HTML], if specified such attributes represent only the default value or state for the element. +
  • `abbr`

    @@ -15770,46 +15773,232 @@

    `value`

    - + + + + + + + + + + + + + + + + + + + + +
    Element(s) - `input` + `input`; + `input type=date`; + `input type=datetime-local`; + `input type=email`; + `input type=month`; + `input type=number`; + `input type=password`; + `input type=range` + `input type=search`; + `input type=tel`; + `input type=text`; + `input type=url`; + `input type=week`;
    [[WAI-ARIA-1.2]]Not mapped + `aria-valuenow` +
    MSAA + IAccessible2
    Use WAI-ARIA mapping
    UIA
    Use WAI-ARIA mapping
    ATK
    Use WAI-ARIA mapping
    AX
    Use WAI-ARIA mapping
    Comments
    +

    `value`

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    HTML Specification`value`
    Element(s) -
    - Associates the accessible value for entry type input elements and accessible name for button type input elements -
    + `input type=button`; + `input type=reset`; + `input type=submit`
    [[WAI-ARIA-1.2]]Contributes to the accessible name of the `input`
    + MSAA + IAccessible2 +
    See comments
    UIA
    See comments
    ATK
    See comments
    AX
    See comments
    Comments -
    - Associates the accessible value for entry type input elements and accessible name for button type input elements -
    + If specified, the value of the attribute will contribute to the + accessible name computations for these `input` elements in the `button`, `reset` and `submit` states, rendering as the button `input` element's text label.
    +

    `value`

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    HTML Specification`value`
    Element(s) + `input type=checkbox`; + `input type=hidden`; + `input type=radio` +
    [[WAI-ARIA-1.2]]
    Not mapped
    + MSAA + IAccessible2 +
    Not mapped
    UIA
    Not mapped
    ATK
    Not mapped
    AX
    Not mapped
    Comments -
    - Associates the accessible value for entry type input elements and accessible name for button type input elements -
    +

    The `value` attribute of these `input` states is not directly communicated to users.

    +

    `value`

    + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + + + +
    HTML Specification`value`
    Element(s) + `input type=color` +
    [[WAI-ARIA-1.2]] + `aria-valuenow` & + `aria-valuetext` +
    + MSAA + IAccessible2 +
    Use WAI-ARIA mapping
    UIA
    Use WAI-ARIA mapping
    ATK
    Use WAI-ARIA mapping
    AX`AXValue: <value>`
    Use WAI-ARIA mapping
    Comments + User agents MAY use the exact text value of the `value` attribute, or a localized variation + of the specified text to present a human friendly representation of the color value. +
    +

    `value`

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    HTML Specification`value`
    Element(s) + `input type=image` +
    [[WAI-ARIA-1.2]] + Contributes to the accessible name of the `input` +
    + MSAA + IAccessible2 +
    See comments
    UIA
    See comments
    ATK
    See comments
    AX
    See comments
    Comments + If specified, and the `input` in the `image` state has no `alt` attribute specified, then the value of the attribute will contribute to the + accessible name computations, and will render as text if the image source is broken. Otherwise, the attribute is ignored. +
    @@ -15895,25 +16084,25 @@

    `value`

    MSAA + IAccessible2 -
    Exposed as `IAccessibleValue::currentValue`
    +
    Use WAI-ARIA mapping
    UIA -
    Exposed as `Value.Value`
    +
    Use WAI-ARIA mapping
    ATK -
    Exposed as `atk_value_get_current_value`
    +
    Use WAI-ARIA mapping
    AX -
    `AXValue: <value>`
    +
    Use WAI-ARIA mapping