Back to Guidelines
What is On Focus?
Changing focus does not initiate a change of context.
Changing focus does not initiate a change of context.
- Keyboard and screen reader users.
- People who need predictable interactions.
- Users who benefit from visible focus and clear labels.
Good vs Bad Examples
Use the tabs to compare the accessible pattern with the example to avoid.
Search
html live code
<input type="text" aria-label="Search" />Why this is correct (project manager logic):
- Provides an accessible and predictable interaction.
- Works better for keyboard and assistive technology users.
- Matches the intended WCAG requirement for this page.
Implementation Checklist
Progress0 / 5 completed (0%)
Knowledge Check
Answer Yes or No to test your understanding of on focus.
Score: 0 / 3 · Answered: 0 / 3