Skip to content

[EuiSelectable] Discoverability of exclusions #3625

Closed as not planned
Closed as not planned

Description

@myasonik

Selectable currently supports exclusions by clicking on each option multiple times: clicking once sets it to "included", clicking again sets it to "excluded", and clicking again resets it to nothing.

There isn't a great way to expose this to assistive tech (currently being done with aria-labels reading out instructions) but also this doesn't seem very discoverable to many people without specific instructions being given on the page.

I'd like to propose an alternative design that shows the "exclusion" action on hover/focus on each option. (This could be further extended to show both an "exclusion" and "inclusion" actions if there's concern that people would then stop clicking on the option itself for "inclusion" - the default action.)

Quick prototype showing just the "exclusion" action on hover:
Kapture 2020-06-16 at 12 18 50

Activity

  1. added
    design decision
    on Jun 17, 2020
  2. github-actions commented on Sep 6, 2021

    @github-actions

    👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.

  3. added
    stale-issue
    on Sep 6, 2021
  4. added and removed
    stale-issue
    on Sep 7, 2021
  5. daveyholler commented on Mar 6, 2023

    @daveyholler
    Contributor

    @miukimiu - Please provide a link to the new issue and close this :)

  6. elizabetdev commented on Mar 6, 2023

    @elizabetdev
    Contributor

    Closing in favor of #6440

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    accessibilitydesign decision

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions