Chip

User stories

The following user stories can be used to understand when this component should be used, and how to know when it’s been implemented correctly:

  • As someone using the component, I want to understand what each chip does based on its label, so I know what value or filter I am selecting.
  • As a keyboard-only user, I want to be able to navigate to each chip using the Tab key and activate it using Enter or Space, so I can interact with the component without a mouse.
  • As a screen reader user, I want each chip to expose a clear accessible name and role, so that I understand its purpose and can announce chip state (selected/unselected) properly.
  • As a screen reader user, I want the selected state of a filter chip to be announced (for example via aria-pressed="true"), so I know which filter is active.
  • As a user with low vision, I want visible focus indicators on chips, so I can see where focus is when navigating through them.
  • As a user relying on touch input, I want each chip to have an adequate touch target size, so I can accurately select it without accidental misses.

 

Test steps

Use these steps to check that the Chip component has been implemented correctly:

Keyboard focus + activation

  • Navigate to the chip group using the Tab key.
  • Verify that focus moves to each chip in sequence.
  • Activate a chip using Enter or Space.
  • Confirm that the input chip inserts the correct value into its associated field and the filter chip toggles its selected state.

Selected state

  • Activate a filter chip.
  • Confirm only one filter chip shows as selected at a time.
  • Verify that the selected state is programmatically exposed and announced by the screen reader.

Focus indicator visibility

  • Use only the keyboard to navigate to each chip.
  • Check that a clear focus outline or indicator is always visible when a chip receives focus.

Touch target size

  • On a touch device / emulator, tap each chip.
  • Confirm that the activation area is large enough (recommended at least 44×44 px) and targets don’t overlap .

 

Accessibility checklist

 

User stories and test steps

✅