Accessibility
- The root is a
searchlandmark. The input is a combobox, named by the placeholder or the web component'saria-label, that controls the suggestions listbox;aria-expandedfollows the view. - The arrows move
aria-activedescendantthrough the suggestions and Enter selects the one reached; a polite status announces how many show. Hovering a suggestion does not move the keyboard highlight. - The open view is in the top layer. Docked, it sits over a scrim and a press outside closes
it; full screen, it is a modal
<dialog>, the page behind is inert, and Escape closes it. - Its icon buttons are 48dp targets named "Search", "Go back" and "Clear search"; trailing
items are named by their
ariaLabel, which an avatar withonClickneeds.