Skip to content

Focus indicator

A focus indicator shows which control receives keyboard input. It differs from a mouse pointer or a marker for the selected item.

Design & UX

Locate the current keyboard position

A focus indicator visibly marks the element that currently has keyboard focus. It might be an outline around a button or input field. When moving through a form with Tab, it shows where the next input or activation will take effect.

In an example order form, “Review order” gets a clear outline when reached with Tab. A colour change only on mouse hover is insufficient: it represents a different state.

Likewise, a persistently highlighted tab only shows which content is selected. Focus may already be on another element. If a design removes the browser's outline, it needs a suitable visible replacement. Check this on different backgrounds and when the page is enlarged.

Sources

Articles on this topic

Design & UX with ASES

User experience, interfaces and brand presence