textarea element role semantics

Definition textarea elements must only have role values of listbox (default) or menu.
Purpose
  • The textarea element has a default role of textbox can have no other role value.
Required Yes for HTML4 Legacy Techniques ruleset mapping
WCAG 2.0 Success Criteria

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

Rule Category Forms
Scope Element
Target Resources textarea] elements
  • textarea
Techniques
  • The textarea element's default role of textbox it can have NO other role, do NOT set.
Informational Links