HighWCAG 2.4.7 · Level AAOperable
Invisible Keyboard Focus Indicator
Flags elements that override the browser default focus indicator (using outline:none, outline:0, or focus:outline-none) without declaring a visible fallback ring.
Rule ID: custom-focus-outline-reset · reported under Needs review, because a person should confirm it.
Who this affects
Keyboard users cannot see where they are on the page.
WCAG 2.4.7 Focus Visible: read the W3C explanation of Focus Visible
How to fix it
Problem
<button class="bg-[#111111] text-white focus:outline-none">Complete Purchase</button>Fixed
<button class="bg-[#111111] text-white focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2">Complete Purchase</button>These are short examples. In the extension, A11yEngine points to the element on your own page and can suggest a fix for your code (HTML, React, Vue or Tailwind).
Find this on your own pages
Check any page for this and 100+ other issues in your browser, free.