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

[EuiComboBox] Improve virtualized list accessibility #8267

Open
mgadewoll opened this issue Jan 10, 2025 · 0 comments
Open

[EuiComboBox] Improve virtualized list accessibility #8267

mgadewoll opened this issue Jan 10, 2025 · 0 comments
Assignees

Comments

@mgadewoll
Copy link
Contributor

mgadewoll commented Jan 10, 2025

Description

Caused by this issue: elastic/kibana#206031

EuiComboBox currently does not appropriately handle its virtualized list to ensure expected output for screen readers.
When navigating the list and reaching the current visible end of the list, the next items are appended and previous items are removed, the screen reader output should not be affected by this.

Note

EUI plans to rebuild EuiComboBox with EuiSelectable (issue). This would solve this issue as EuiSelectable correctly handles the virtualized list updates. If the rebuild has happened already, this issue is obsolete and can be closed.

Unexpected behavior:

  • the appended items being read out by the screen reader because the panel has an aria-live="assertive" applied
  • the list size is updated
  • the item position index is updated correctly
Screen.Recording.2025-01-10.at.12.11.02.mov

Expected behavior:

  • the appended items are not read out
  • the list size stays static and matches the available list item length
  • the item position index does not update and matches the index in the options array
Screen.Recording.2025-01-10.at.12.12.03.mov
@mgadewoll mgadewoll self-assigned this Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant