The button to remove a tag is automatically given a label using
aria-label so that screen reader users can distinguish which tag will be removed.
The control to remove a tag is implemented as a button with standard keyboard support.
- Give buttons keyboard focus with the tab key (or shift + tab when tabbing backwards)
- To activate a button, press the enter/return or space key
When a merchant uses the button to remove a tag, it is important to make sure that keyboard focus is managed. Moving focus to the next element in the page is recommended.