Skip to content

[Search] Replace aria-selected with aria-expanded on Result toggle button#260561

Merged
seialkali merged 1 commit into
elastic:mainfrom
seialkali:fix-a11y-invalid-aria-select
Mar 31, 2026
Merged

[Search] Replace aria-selected with aria-expanded on Result toggle button#260561
seialkali merged 1 commit into
elastic:mainfrom
seialkali:fix-a11y-invalid-aria-select

Fix critical a11y violation: replace aria-selected with aria-expanded…

880ac4d
Select commit
Loading
Failed to load commit list.
MacroscopeApp / Macroscope - Approvability Check completed Mar 31, 2026 in 1m 52s

Would not approve (click on check for details)

  • Eligibility
  • Correctness

Note

More information about how approvability works can be found in our Help Center.

Details

Eligibility
This is a straightforward accessibility fix (replacing incorrect aria-selected with correct aria-expanded on a toggle button) with no runtime behavior impact. However, the file is owned by @elastic/search-kibana and the author is not a designated code owner, so the designated team should review.

Notes:
@seialkali isn't a code owner for 1 file:

x-pack/platform/packages/shared/kbn-search-index-documents/components/result/result.tsx (owned by @elastic/search-kibana)