Skip to content

[high] JAWS+Chrome: Licenses: The expandable sections are announced with no role or state #5502

@ogumen

Description

@ogumen

Action Performed:

  1. Using JAWS+Chrome, open https://staging.new.expensify.com/
  2. Tab to focus the "licenses" link press Enter key.
  3. Press down arrow key to focus the expandable state sections and listen to the announcements.

Expected Result:

The expandable elements should be announced along with their button role and collapsed/expanded state.

Actual Result:

The expandable elements are announced as headings, no interactive role or state is announced.

HTML:
<div class="toggle-title js_infoToggle"><h4>Alabama <span class="icon is-blue"><i class="expensicons expensicons-xs expensicons-caret-down"></i></span></h4></div>

Workaround:

No workaround

Area issue was found in:

Licenses page

Failed WCAG checkpoints

4.1.2

User impact:

The screen reader users are not informed about the functionality or current state of the controls.

Suggested resolution:

Implement the expandable sections using native <button> as suggested in issue 5181344. Use aria-expanded attribute on the buttons to announce their collapsed or expanded state accordingly. See: https://accessibility.huit.harvard.edu/technique-expandable-sections

Platform:

Where is this issue occurring?

  • Web

Version Number:
**Reproducible in staging?:**Yes
Reproducible in production?:
Notes/Photos/Videos: Any additional supporting documentation
Issue reported by:

Bug5181353_Dropdowns-Lincenses.mp4

Bug5181353_dropdowns-Lincenses

View all open jobs on GitHub

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions