Skip to content

[EuiSelectable] Remove duplicated state instructions for a11y #9197

@tkajtoch

Description

@tkajtoch

Requestor

@jorgeoliveira117

Problem Statement

Currently, the AT output is too verbose. We provide custom text instructions as well as aria-checked and aria-activedescendant attributes, which result in duplicated information.

Proposed Solution

We should remove the custom state instructions.

Use Case

This is a general improvement to assistive technology user experience.

elastic/kibana#219222

Value / Impact

This will fix duplicated information in assistive technology software.

Urgency

This was reported internally and raised by @L1nBra. Since this issue is about duplicated information and not a lack of information, it could be treated with slightly less urgency. However, the fix is simple, and I feel we should get to it straight away to protect our backlog.

Do alternatives or workarounds exist?

Not really

Related code or customizations

https://github.com/elastic/eui/blob/main/packages/eui/src/components/selectable/selectable_list/selectable_list_item.tsx#L322

Additional context (Optional)

elastic/kibana#219222

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions