Skip to content

[EuiSuperSelect][AXE-CORE]: Super select listbox must have an accessible label #5292

Closed

Description

@1Copenut

Description

The EuiSuperSelect has a child listbox that needs a few adjustments for accessibility. Screenshot and updates listed below.

Recommended adjustments

Additionally, I'd like to recommend two adjustments to the component:

  1. Add an accessible label. This label should be an aria-labelledby that references a unique ID (label, span, etc) and the button's own ID. This will create a rich combined label that accurately describes what the super select is doing.
  2. Change the tabIndex to -1. This is in line with WAI-ARIA guidance for listbox components.
  3. Change the button aria-haspopup to "listbox". This is probably a minor adjustment, but gives a clearer indication to screen readers what the user will be interacting with upon clicking / keying.

Guidance

Screenshots

Screen Shot 2021-10-20 at 1 38 18 PM

Activity

  1. changed the title [-][EuiSuperSelect][AUTOMATION]: Super select listbox must have an accessible label[/-] [+][EuiSuperSelect][AXE-CORE]: Super select listbox must have an accessible label[/+] on Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions