Skip to content

[EuiSelectable] Add a mixed state to EuiSelectableListItem that renders a minus icon and screen reader message #6771

Closed

Description

@1Copenut

Describe the solution you'd like
EUI team has received a request to add a mixed state to EuiSelectable where options can be excluded.

/* Selectable option states */
unchecked | on | off | mixed (consumer app only)

Adding this new state will also require screen reader text to verbally communicate state being visually presented with the -. The new state should only be accessed by a consuming application. Users will still be able to toggle through unchecked, on, and off states.

Additional context
GitHub has a similar mixed state for issues when users select two or more using the row checkboxes. The discussion leading to this feature request referenced this action.

Activity

  1. ryankeairns commented on May 11, 2023

    @ryankeairns
    Contributor

    For reference, we've used the partial icon type to represent mixed states when bulk editing Tags in the Stack Management section of Kibana. Perhaps this is a slightly different case (?), but consistency would be nice.

    Screen Shot 2023-05-11 at 3 32 45 PM Screen Shot 2023-05-11 at 3 01 16 PM
  2. self-assigned this
    on May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions