Skip to content

[EuiSelectable] Enable focusable disabled options #8869

@mgadewoll

Description

@mgadewoll

Description

Note

We're planning to update the behavior of disabled buttons in #5666 away from native disabled towards a custom aria-disabled approach, which would allow for disabled buttons to be focusable which in return would allow usages of tooltips for providing additional information about the state and requirements of actions.

Similar to that update, we want to update the usage of EuiSelectable options as well that are currently skipped in navigating the options list and they are not displaying tooltips.
We still need to ensure that the option is semantically and visually disabled and does not trigger any further functionality. The only interaction that should be possible on disabled options are:

  • showing tooltips on hover and focus
  • navigating them as part of the listbox instead of being skipped
Screen.Recording.2025-07-16.at.09.20.17.mov

Additional notes

💭 We should also check the different EUI selection components to align this behavior as far as possible. (Fyi, EuiSelect uses native behavior which will not include disabled options as focusable)

Metadata

Metadata

Assignees

Labels

stale-issue(Don't delete - used for automation)
No fields configured for Enhancement.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions