Next.js fix guide
Fix Missing focus indicator on Next.js
Do not remove outlines without replacing them.
Check your live page
Canonical issue page: Missing focus indicator →
What this issue means
Fixes
Use `:focus-visible` styles with sufficient contrast. Avoid `outline: none` unless you supply a custom ring.
How to fix on Next.js
In Next.js, verify both server and client components: hydration can change roles/names. Use `next/image` with meaningful `alt`, and ensure dynamic imports do not drop focus management.
How to fix
Use :focus-visible with a high-contrast ring or offset box.
Never remove outlines unless you replace them with an equally clear indicator.
Related: 2.4.7 Focus Visible.
Other platforms
TestAccessibility · Programmatic fix page · localhost:3001