select element role semantics. (Deprecated)

Rule ID Role 13
Definition select elements must only have role values of listbox (default) or menu. NOTE: Deprecated in favor of HTML 3 a more general rule on role restrictions based on ARIA in HTML specification.
Purpose
  • The select element has a default role of listbox and the browser natively supports the behavior of being part of the tab order of the page (e.g. tabindex=0) and will repsond to click events and the enter key.
  • When select elements only need to use the role attribute when it semantics are a menu instead of a listbox.
Required No for HTML4 Legacy Techniques ruleset mapping
WCAG Success Criteria

4.1.2 Name, Role, Value (Level A, Primary Success Criterion)

Rule Category Forms
Scope Element
Target Resources select] elements
  • select
Techniques
  • The select element's default role of listbox can only be overridden with menu.
Informational Links