Repository navigation
[EuiSelectable] Support hasAriaDisabled prop on options - #10090
Merged
mgadewoll merged 6 commits intoOct 5, 2026
Merged
Conversation
mgadewoll
force-pushed
the
selectable/support-aria-disabled-tooltip
branch
from
September 28, 2026 09:54
68fa71c to
8ac0d3a
Compare
mgadewoll
force-pushed
the
selectable/support-aria-disabled-tooltip
branch
from
September 28, 2026 09:58
59cd054 to
f65e120
Compare
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
An unresolved critical crash remains for searches matching only native-disabled options.
Review effort: Lite
Findings: 1
Open (1)
What changed in this PR
Adds hasAriaDisabled support to EuiSelectable options, including navigation, styling, tooltips, documentation, tests, and changelog updates.
Changes:
- Propagates
hasAriaDisabledthrough selectable components. - Updates navigation and disabled-option styling.
- Adds stories, tests, documentation, and release notes.
| File | Summary |
|---|---|
packages/website/docs/components/forms/selection/selectable.mdx |
Documents disabled-option tooltips. |
packages/eui/src/components/selectable/selectable.tsx |
Updates navigation; contains an unresolved critical crash when searches match only native-disabled options. |
packages/eui/src/components/selectable/selectable.stories.tsx |
Adds disabled-tooltip story coverage. |
packages/eui/src/components/selectable/selectable.spec.tsx |
Tests navigation, selection prevention, and tooltips. |
packages/eui/src/components/selectable/selectable_option.tsx |
Adds the option prop type. |
packages/eui/src/components/selectable/selectable_list/selectable_list.tsx |
Forwards the new prop. |
packages/eui/src/components/selectable/selectable_list/selectable_list_item.tsx |
Applies disabled semantics and tooltip behavior. |
packages/eui/src/components/selectable/selectable_list/selectable_list_item.test.tsx |
Tests disabled rendering and tooltips. |
packages/eui/src/components/list_item_layout/_list_item_layout.tsx |
Supports custom disabled behavior. |
packages/eui/src/components/list_item_layout/_list_item_layout.styles.ts |
Adjusts disabled and focused styling. |
packages/eui/changelogs/upcoming/10090.md |
Records the API addition and bug fix. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Contributor
Author
|
buildkite test this |
💚 Build Succeeded
History
cc @mgadewoll |
💚 Build Succeeded
History
cc @mgadewoll |
mgadewoll
marked this pull request as ready for review
September 28, 2026 13:22
weronikaolejniczak
self-requested a review
September 29, 2026 09:38
weronikaolejniczak
approved these changes
Sep 30, 2026
weronikaolejniczak
left a comment
Contributor
There was a problem hiding this comment.
LGTM 🟢 Couldn't find anything blocking, works as expected!
skynetigor
pushed a commit
to skynetigor/kibana
that referenced
this pull request
Oct 7, 2026
## Dependency updates `@elastic/eui` - v123.0.0 ⏩ v123.1.0 ## Package updates ### `@elastic/eui` [v123.1.0](https://github.com/elastic/eui/blob/main/packages/eui/changelogs/CHANGELOG_2026.md) - Removed the left color highlight from `EuiCallOut` ([elastic#10109](elastic/eui#10109)) - Updated Flyout menu height to 50px ([elastic#10103](elastic/eui#10103)) - Added new icons: `chartMix`, `chartWaffle`, `clipboardWarning`, `clockUp`, `emergencyLight`, `productCanvas`, `productElasticAgent`, `productFleet`, `productLens`, `puzzlePiece`, `shield` ([elastic#10111](elastic/eui#10111)) - Added `hasAriaDisabled` prop on `EuiSelectableListItem` and `type EuiSelectableOption` ([elastic#10090](elastic/eui#10090)) - Added refs for `EuiFlyoutHeader`, `EuiFlyoutFooter`, and the outer `EuiFlyout` scroll container. ([elastic#10105](elastic/eui#10105)) - Corrected `EuiFlyoutHeaderProps`, `EuiFlyoutFooterProps`, and `EuiFlyoutBodyProps` to describe component props instead of component types. ([elastic#10105](elastic/eui#10105)) - Updated `EuiFormRow`'s `labelAppend` to render string content with an extra-small, subdued text style. ([elastic#10067](elastic/eui#10067)) **Bug fixes** - Fixed a bug on `EuiSelectable` with `searchable={true}` that could result in an infinite loop if all search results are disabled ([elastic#10090](elastic/eui#10090)) - Fixed `EuiSuperSelect` omitting the currently selected value from its accessible name when an `aria-label` or `aria-labelledby` was passed. External labels are now combined with the selected value instead of overriding it ([elastic#10039](elastic/eui#10039)) --------- Co-authored-by: Ángeles Martínez Barrio <[email protected]> Co-authored-by: Alexey Antonov <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]>
weronikaolejniczak
pushed a commit
to boriskirov/eui
that referenced
this pull request
Nov 11, 2026
) Co-authored-by: kibanamachine <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
hasAriaDisabledonEuiSelectableoptions.renderOptionto manually compose the option is not optimal.hasAriaDisabledonEuiSelectableListItemandEuiSelectableOption(the underlyingEuiListItemLayoutcomponent already supported it)hasAriaDisabledoptions are highlighted on navigation (as they are enabled for navigation but disabled for selection)searchable={true}and only disabled options would be matched by adding a break guardAPI Changes
EuiSelectableOptionhasAriaDisabledoptionsto a custom disabled state viaaria-disabledEuiSelectableListItemhasAriaDisabledaria-disabledScreenshots
Screen.Recording.2026-09-28.at.11.33.26.mov
Screen.Recording.2026-09-28.at.11.33.05.mov
Screenreader output
Impact Assessment
Note: Most PRs should be tested in Kibana to help gauge their Impact before merging.
Impact level: 🟢 None
🧪 The changes have been run in Kibana CI (🟢 build)
Release Readiness
Figma: {link to Figma or issue}Migration guide: {steps or link, for breaking/visual changes or deprecations}Adoption plan (new features): {link to issue/doc or outline who will integrate this and where}QA instructions for reviewer
hasAriaDisabledhasAriaDisabled={true}and tooltip show the tooltip on keyboard focus and mouse hoverhasAriaDisabled={true}are correctly announced in screen readersChecklist before marking Ready for Review
breaking changelabel (if applicable)Reviewer checklist