Natively Focusable Elements
You'll learn which HTML elements users can naturally focus with the keyboard without any extra work from you.
What Makes an Element "Natively Focusable"?
When you press the Tab key on a webpage, your keyboard focus moves through interactive elements—links you can click, buttons you can press, form fields you can type into. Some HTML elements are born ready for keyboard focus; they don't need special attributes or ARIA roles to participate in keyboard navigation.
Think of natively focusable elements like doors in a building that automatically unlock when you approach them. You don't need a special key card—they're designed to let people through by default.
The Core Focusable Elements
Interactive Controls
- Links (
<a href="...">) - Navigate to other pages or sections - Buttons (
<button>) - Trigger actions - Form inputs (
<input>,<textarea>,<select>) - Receive user data
Additional Focusable Elements
- Media controls (
<audio controls>,<video controls>) - Elements with
tabindex="0"(though this is an override, not native) contenteditableelements - Editable text regions
Why This Matters
Most HTML elements like <div>, <span>, and <p> are not natively focusable. If you try to build a custom button using a <div>, keyboard users won't be able to reach it naturally. This is why choosing semantic HTML (like actual <button> elements) is crucial for accessibility—you get keyboard focus for free.
Users who can't use a mouse rely on Tab navigation to move through your page. When you use natively focusable elements, you're ensuring everyone can interact with your content.
Key Takeaway: Links, buttons, and form inputs are focusable by default—use them instead of generic elements to ensure keyboard users can navigate your site naturally.