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

`role=generic` has inconsistent support in different user agents

Open dd8 opened this issue 10 months ago • 0 comments

Accessibility support

role=generic has inconsistent support in different user agents

ACT Rules

  • https://www.w3.org/WAI/standards-guidelines/act/rules/bc4a75/
  • https://www.w3.org/WAI/standards-guidelines/act/rules/ff89c9/

Test cases

Test case 1

<div role="list">
  <div>
    <div role="listitem">The "list" is my accessibility parent.</div>
  </div>
</div>

Expected result: reads

list with 1 item, listitem: The list is my accessibility parent

Open this test case

Test case 2

<div role="list" aria-owns="child3 child4">
  <div role="listitem">Accessibility Child 1</div>
  <div>
    <div role="listitem">Accessibility Child 2</div>
  </div>
</div>
<div id="child3" role="listitem">Accessibility Child 3</div>
<div id="child4">
  <div role="listitem">Accessibility Child 4</div>
</div>

Expected result: reads

list with 4 items, listitem: Accessibility Child 1, listitem: Accessibility Child 2, listitem: Accessibility Child 3, listitem: Accessibility Child 4

Open this test case

Preconditions

Before running the test, check your settings. In many cases default settings aren't strictly required and will not impact the results. Use common sense here. If non-default settings are necessary for you, record the settings used in the reported results.

  • Ensure browsers are in the default settings, turn off unnecessary extensions
  • Ensure ATs are in the default settings
  • Ensure operating system are in default settings
  • Ensure software uses the correct version (usually the latest version)

Test instructions

  • Test in the chosen combination of screen reader and browser (e.g. VoiceOver with Safari, or JAWS with Chrome)
  • No changes to defaults are required
  • Check that the speech rendering of the test case matches the expected result following the test case

External links

Test results

dd8 avatar Feb 06 '25 15:02 dd8