searchbox constant

String const searchbox

The searchbox can be used instead of textbox when the text box is within an element with role search. A searchbox is the semantic equivalent is HTML's of type search, , which should be used instead if possible.

The searchbox must have an accessible name. If the searchbox role is applied to an HTML element, an associated

The screen reader will announce "search box", "search edit", or "search field" plus the accessible name. This can be redundant if "search" is included in the label.

See: developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/searchbox_role

Implementation

static const String searchbox = 'searchbox';