Resource guide

2.4.7 Focus Visible

Keyboard focus must be visually apparent when navigating by keyboard.

By Calling All Minds·Last updated April 2026

2.4.7

Success criterion

AA

Conformance level

Legal standard — required for EAA compliance.

What it means

When a user navigates with the keyboard, there must be a visible indicator showing which element currently has focus. Without this, keyboard users are essentially navigating blind.

The focus indicator does not need to meet specific size or contrast requirements at Level AA (those are addressed at Level AAA by 2.4.13), but it must be visible. Completely removing the focus outline with outline: none and providing nothing in its place is a failure.

In practice

Never write outline: none or outline: 0 in CSS without providing a custom focus indicator as a replacement.

Custom focus styles should be clearly visible: a solid border, a contrasting outline, or a colour change that is obvious to sighted keyboard users.

Test by navigating your entire site with only the keyboard and checking that you can always see where focus is.

Common failures

  • outline: none applied globally in CSS with no custom focus styles
  • Focus styles removed on individual components such as buttons, links, or form fields
  • Focus indicators that are so subtle (a very thin or low-contrast outline) that they are effectively invisible

AXS Audit

AXS Audit checks your site against 2.4.7 and flags issues your team can act on straight away. It covers criteria that automated scanners often miss.

Explore AXS Audit