Keyboard traps and missing focus
Short answer
Keyboard traps and missing focus means: pressing Tab gets stuck, or you can't see which element is selected, so the site can't be used without a mouse. To fix it: never block Tab, and keep a visible focus style (don't remove outline without a replacement, use :focus-visible).
By the SmooxSEO team. Updated on 16 November 2026.
What it means and why it matters
Pressing Tab gets stuck, or you can't see which element is selected, so the site can't be used without a mouse.
How to fix it
Never block Tab, and keep a visible focus style (don't remove outline without a replacement, use :focus-visible).
Common causes
- Focus outlines removed with outline: none and no replacement.
- Popups, menus or video players that trap the keyboard focus inside.
- Clickable <div> elements that can't be reached with the Tab key.
How to spot it
Put the mouse aside and press Tab through the page: you should always see where you are, reach every link and button, and get out of any popup with Tab or Escape. SmooxSEO tests focus visibility and keyboard traps in a real browser.
Example
button:focus { outline: none; }button:focus-visible { outline: 2px solid #0e6b5c; outline-offset: 2px; }Mistakes to avoid
- Removing focus outlines because they look "ugly": restyle them instead.
- Opening a modal without moving focus into it, or not returning focus when it closes.
How serious is it?
A page can't be found, indexed or trusted, or search engines can't read part of the site. Fix it soon: it costs traffic.
About accessibility checks
Whether people using a screen reader, a keyboard or with poor eyesight can use the page: names for links and buttons, labels, contrast and focus.
Find this problem on your site
SmooxSEO checks every page of your site for this problem and 311 others, lists the pages concerned, and tells you what to fix first.