In short
A keyboard user should always be able to Tab (and Shift+Tab) out of any area. Embedded maps, video players, chat widgets and custom menus sometimes trap focus. Tab through each widget and check you can leave it. Modals are the exception: they should keep focus inside while open, then release it (and close with Escape).
This guide isn't affiliated with or endorsed by Google.
Related issues
Sources and references
Chrome for Developers, Lighthouse accessibility score
W3C, Understanding Success Criterion 2.1.2: No Keyboard Trap

About the author
Nazmul Nikhil
Head of SEO & Assistant Manager, Digital Marketing at Notionhive
SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.



