2. OperableLevel A
2.5.3 Label in Name
레이블과 네임
Summary
The visible label text must be contained in the accessible name. When a speech-input user says "click search", a mismatch between what is displayed and what is exposed makes the command fail. Overwriting visible text with a different aria-label is the classic mistake.
Common failures
- A button reading "Search" carrying `aria-label="submit"`, breaking voice commands.
Corresponding KWCAG 2.2 items
- 6.5.3 Label in Name