Skip to content

[EuiSelectable][A11y] Search input is not read out by screen readers #9161

Closed

Description

@mgadewoll

Reported by @jorgeoliveira117

Related Kibana issue: elastic/kibana#219240

Description

When navigating EuiSelectable with searchable in screen readers, the search input is not announced while it is focused. This results in the user not having information about the element.

The search input has a hint text applied in code (code), but it's not read out. This is because the activeOptionIndex that's set on onFocus (code) populates the aria-describedby which controls the screen reader navigation/focus for listboxes. Instead of the search input that's focused, the active option will be focused and read by the screen reader. The input is skipped.

It seems like we need to change when the activeOptionIndex is set to ensure the search input is focusable standalone.

⚠️ Ensure to test the update in Kibana to understand potential test case failures.

Impact and severity

Medium - High: The component is functional but semantically it's not correct and creates confusion for screen reader users. Basically the input element is invisible due to it not being announced.

:accessibility: Violates WCAG 4.1.2 Name, Role, Value (Level A)

Minimum reproducible sandbox

https://eui.elastic.co/next/docs/components/forms/selection/selectable/#searchable

To Reproduce

  • Open EuiSelectable with searchable=true
  • Navigate with a screen reader (e.g. NVDA in Windows) and focus the search input
  • observe that the input is focused in the DOM but the screen reader focus moves to an option in the selectable list
Screen.Recording.2025-10-30.at.15.28.39.mov

Expected behavior

The search input is focusable by screen reader navigation and read out with all its semantic information.

Screen.Recording.2025-10-28.at.17.48.24.mov

Activity

  1. added theissue type on Oct 30, 2025
  2. added
    help wanted
    on Oct 30, 2025
  3. github-actions commented on Nov 4, 2025

    @github-actions

    👋 Thank you for your suggestion or request! While the EUI team agrees that it's valid, it's unlikely that we will prioritize this issue on our roadmap. We'll leave the issue open if you or anyone else in the community wants to implement it by contributing to EUI. If not, this issue will auto close in one year.

  4. JasonStoltz commented on Nov 10, 2025

    @JasonStoltz
    Contributor

    Thank you for adding this issue. We've triaged it to determine priority and next steps:

    • New status: Backlog
    • Priority: We are not prioritizing this work near term.
    • Next steps: We are unlikely to complete this work near term, but we’d happily review a pull request if you’d like to contribute a PR.

    If you believe this should be prioritized differently, please feel free to add more context here (e.g., how it impacts your work, or how broadly it might affect other users). That helps us re-evaluate priorities.

    Notes from Triage:
    A WCAG Level A accessibility bug was reported for EuiSelectable. When the component receives focus, screen readers incorrectly jump to the first list item instead of announcing the search input. A fix attempted in EUI caused test failures in Kibana, so the issue requires further investigation.

    We are tracking and prioritizing this work in the larger context of a larger accessibility initiative for Kibana.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

accessibilityhelp wanted

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions