Design Core B · Official guidance Platform: Web

Focus Ring

A visible line or highlight around the control that now receives keyboard input.

Try an example
You might call it focus indicatorkeyboard focusfocus-visible

Try an example

Press Tab to follow focus

A real example

Pressing Tab in checkout puts a clear ring around each field and button without moving the page layout.

Main parts

  1. 01Visible label
  2. 02Interaction target
  3. 03Current state
  4. 04Keyboard behavior

Use it when

Show it on every control that can receive keyboard focus. Test it on every background and in every state.

Do not use it when

Never remove the browser outline without an equally clear replacement. A hover style does not show keyboard focus.

Name used in code

:focus-visible outline

Before you ship

Check content order, shared design values, component consistency, contrast, zoom, and layout changes by screen size. Verify every theme, language, and state. If there is motion, offer an equal reduced-motion experience.

Request you can copy

Outcome: Use or define Focus Ring to make the visual experience clear and easy to use. User context: Pressing Tab in checkout puts a clear ring around each field and button without moving the page layout. Design concept to apply: Focus Ring. Why it fits: Show it on every control that can receive keyboard focus. Test it on every background and in every state. Do not use it when: Never remove the browser outline without an equally clear replacement. A hover style does not show keyboard focus. Design requirements: Set the content order, shared design values, and reusable components. Define how the layout changes by screen size and state. Keep useful design choices separate from decoration. Inclusion and resilience: Check contrast, zoom, languages, themes, and reduced motion when needed. Do not use color or effects as the only way to show meaning. Acceptance criteria: The design stays clear on phones and desktops, at zoom, in every theme, and in all supported languages. Interactive states stay clear and consistent. Evidence and limits (evidence boundary): It is official for that source. Other platforms or teams may use the term in another way. Unknowns to confirm: Brand limits, amount of content, supported themes and languages, target devices, and design-system rules.

Check this request

Review the current use of Focus Ring. Definition: A visible line or highlight around the control that now receives keyboard input. Release checks: Check content order, shared design values, component consistency, contrast, zoom, and layout changes by screen size. Verify every theme, language, and state. If there is motion, offer an equal reduced-motion experience. Before changing code, report the evidence you found, gaps, severity, and the smallest safe fix.

B
How official is this term?

Official guidance

The named platform, framework, project, or expert group has an official guide for this term.

It is official for that source. Other platforms or teams may use the term in another way.

Scope
Web and Apple keyboard focus guidance
Document status
recommendation
Checked on
2026-07-30

Evidence sources & scope

Authority source · W3C · recommendation Web Content Accessibility Guidelines (WCAG) 2.2 Scope: Web accessibility conformance Role here: Authority within stated scope Source covers: accessibility, usage guidance, avoidance guidance Authority source · Apple · stable Focus and selection Scope: Apple focus behavior Role here: Authority within stated scope Source covers: canonical name, definition, platform API, implementation, usage guidance

Copy it yourself

The browser could not copy this. Select the request below and copy it yourself.