Focus Indicator
A focus indicator is a visible visual cue (such as an outline, border, or highlight) that shows which element currently has keyboard focus. It plays a critical role for users navigating without a mouse, allowing them to track their position on the page.
According to WCAG 2.4.7 (Focus Visible), every interactive element must have a visible focus state. By default, browsers display a dotted or colored outline around focused items, but many designers remove these indicators for aesthetic reasons using CSS (outline: none;). This is a serious accessibility error, as it leaves keyboard users disoriented.
The preferred approach is to customise focus styles rather than remove them, for example, by using a high-contrast border, background change, or glow effect. The indicator must meet sufficient colour contrast to remain visible against various backgrounds.
Accessible focus indicators ensure that users who rely on keyboard navigation can always determine where they are and move confidently through interactive elements.