act-rules.github.io icon indicating copy to clipboard operation
act-rules.github.io copied to clipboard

menuitemcheckbox / menuitemradio do not inherit from input in ARIA 1.2

Open WilcoFiers opened this issue 5 years ago • 2 comments

From @jnurthen

w3c/aria#1278 removes the multiple inheritance from menuitemcheckbox and menuitemradio such that this will no longer be true once this appears in a spec.

Content in the background section needs to be updated when we move to WAI-ARIA 1.2.

WilcoFiers avatar Jul 07 '20 13:07 WilcoFiers

This was discussed on the ACT TF call. The conclusion there is that the rule "from field has accessible name" is not a good description of what the rule does. The correct title really is "input or select widget has accessible name", which suggests the problem with that particular rule; It combines testing roles that inherit from select, and that inherit from input in the same rule.

Thinking of this a little more systematically. I think once ARIA 1.2 is out, we should revisit the way these requirements are split up. I think the following breakdown makes the most sense:

  1. Command widget has non-empty accessible name:

    • button
    • link
    • menuitem
  2. Select widget has non-empty accessible name:

    • listbox
    • menu
    • radiogroup
    • tree
  3. Input widget has non-empty accessible name:

    • checkbox
    • combobox
    • option
    • radio
    • slider
    • spinbutton
    • textbox
  4. Range widget has non-empty accessible name: (This does not include all range, just ones that are also widgets)

    • progressbar
    • scrollbar
    • slider
    • spinbutton
  5. Irregular widget has non-empty accessible name: (Widgets that do not inherit from command, select, input or range)

    • gridcell
    • row
    • separator
    • tab

WilcoFiers avatar Aug 18 '20 13:08 WilcoFiers

For ARIA 1.2 we just need to update the background section to clarify that menuitem is also a role to consider.

WilcoFiers avatar Jun 16 '22 14:06 WilcoFiers

This was closed by #1942

Jym77 avatar Jan 19 '23 09:01 Jym77