Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hotfix] Dropdown, SingleSelect & MultiSelect screen reader a11y #883

Merged
merged 5 commits into from
Nov 28, 2024

Conversation

riitasointi
Copy link
Collaborator

Description

PR contains fixes for the Dropdown, SingleSelect & MultiSelect components. The changes to the Select components are mainly pre-emptive in nature and deal with the extra divs in the popover list.

Dropdown, on the other hand, needs a hotfix since the component is currently not working in the latest macOS version with Safari + VoiceOver. The fix is, fortunately, very simple: Just replace aria-owns with aria-controls in the dropdown button.

Motivation and Context

The issues were reported to us by an accessibility specialist.

How Has This Been Tested?

Styleguidist: macOS 15 with Safari + VO, Chrome + VO

Release notes

Dropdown

  • Fix screen reader accessibility which manifested when browsing the popover list

SingleSelect, MultiSelect

  • Remove redundant divs from the popover list (between <ul> and <li>)
  • Fix ariaOptionsAvailableTextFunction documentation examples

@riitasointi riitasointi requested a review from LJKaski as a code owner November 7, 2024 15:21
Copy link
Collaborator

@LJKaski LJKaski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works fine with NVDA, JAWS and mobile environments as well 👍

@LJKaski LJKaski merged commit c645c86 into master Nov 28, 2024
1 check passed
LJKaski added a commit that referenced this pull request Nov 28, 2024
…fixes

[Hotfix] Dropdown, SingleSelect & MultiSelect screen reader a11y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants