Web Content Accessibility Guidelines a guide to the accessibility requirements
2 Operable

2.4.12 Focus Not Obscured (Enhanced)

Conformance level: AAA
Criterion released in WCAG version: 2.2

Official description of the success criterion

When a user interface component receives keyboard focus, no part of the component is hidden by author-created content.

What to do?

Ensure when an item gets keyboard focus, it is fully visible.

Why is it important?

People who can't use a mouse need to see what has keyboard focus.

More about this criterion elsewhere