A focus state is the visual styling an element shows when it is selected, usually via keyboard, indicating it is ready for interaction.
A focus state is the visual styling an element displays when it is currently selected and ready to receive input, most often when a user has navigated to it with the keyboard. When someone tabs to a link, button, or form field, that element gains focus, and a clear focus state, such as a visible outline, ring, or change in appearance, shows exactly where the user is on the page. It is the on-screen answer to the question a keyboard user constantly needs answered: where am I right now, and what will happen if I press Enter or start typing.
Mechanically, browsers apply focus to one element at a time, and by default they draw a focus indicator, often an outline, around whatever is focused. Developers can style this indicator using CSS, and a particularly useful modern tool lets a site show the focus ring specifically when someone is navigating by keyboard while suppressing it for ordinary mouse clicks, so the interface stays clean for pointer users without abandoning keyboard users. A strong focus state has good contrast against its surroundings and is impossible to miss, which usually means a distinct outline or ring rather than a subtle color shift alone. As the user moves through the page, focus travels from element to element, and the visible state must keep pace so the user is never guessing.
The term draws on focus, from the Latin word for hearth or center, the point where attention gathers, paired with state to describe the condition of an element at a given moment. The concept became formalized as web accessibility standards matured and made clear that focus must always be visible, since an interface that hides focus is unusable for anyone who cannot rely on a mouse to see where they are.
For a business, focus states matter because they are essential to keyboard and assistive technology users being able to complete anything on the site. If focus is invisible, those users cannot tell which control is active, and tasks like checkout, sign-up, or form completion become guesswork, quietly costing the business conversions and creating accessibility violations. Accessibility guidelines explicitly require a visible focus indicator, so neglecting it is both a usability failure and a compliance risk. Good focus styling also signals overall craft, showing that a product was built with care for all its users.
The single most common mistake is removing the focus outline for aesthetic reasons, often by setting the outline to none in CSS without providing any replacement. This leaves keyboard users with no way to see where they are and is one of the most damaging accessibility errors a developer can make. Another mistake is a focus state so faint that it fails contrast requirements and cannot be seen against the background. The correct approach is never to remove focus indication outright but to design an intentional, high-contrast focus style that fits the brand. Focus states are inseparable from keyboard navigation, they complement ARIA and screen reader support, and they are a specific instance of an affordance, since a visible focus signals that an element is ready to be acted upon.
A clear focus state is critical for keyboard and screen reader users and is a common accessibility failure point that can expose a business to compliance risk.