Skip to content

Confusing selected states when using multiple selection methods #770

@neilmiddleton

Description

@neilmiddleton

It's possible to have more than one 'selected' item in the dropdown.

Screenshot 2025-01-07 at 13 11 54

To replicate:

Using the top example at https://alphagov.github.io/accessible-autocomplete/examples/.

  • Enter 'U' into the select box
  • Hover the mouse over an item
  • Use the arrow down to select a different item
  • Note that two items now have a selected state
  • On Enter, the last selected item is chosen.

Metadata

Metadata

Assignees

No one assigned

    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