# Focus Indicator

> The ring that shows which control the keyboard is on right now.

**Field:** Design  
**Category:** Accessibility  
**Also known as:** Focus Ring, Focus Outline, Visible Focus

## Think of it like

It is like a torch beam in the dark. It shows exactly where you are pointing.

## Definition

A focus indicator is the ring or outline you can see around the control the keys are on right now. It is the pointer for people who use the keys. Browsers draw one by default, and WCAG level AA asks that it is always seen. Designers often take it off because it looks messy. That leaves key users lost. A clear, strong ring can be styled to match the brand instead.

## Example

Emma tabs through a site with no focus ring. She presses Enter and buys the wrong item.

## Example code

```css
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
```

This shows the ring when you use the keys. It does not show it on each mouse click.

## Why it matters

Without it, keyboard users cannot see where they are, so they cannot use the page.

## Common mistake

Writing outline: none to hide the ring. Restyle it instead of removing it.

## Three principles

- **The keyboard's pointer.** Shows where you are.
- **Always visible.** Never removed.
- **Style, do not hide.** Make it match the brand.

## Related terms

- [Keyboard Navigation](https://learn.benibix.com/term/design/keyboard-navigation)
- [Component State](https://learn.benibix.com/term/design/component-state)
- [Tab Order](https://learn.benibix.com/term/design/tab-order)
- [Contrast Ratio](https://learn.benibix.com/term/design/contrast-ratio)

---

Source: https://learn.benibix.com/term/design/focus-indicator
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-18
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
