Mobile version should have focus trap

Created on 25 April 2024, over 1 year ago

When using the mobile version of the navigation, it is possible to tab through the admin navigation, and into the content of the page. This violates WCAG 2.4.7 focus visible, because the content item that has focus will be obscured by the navigation menu.

In Olivero we handle this by watching for tabs and redirecting the focus when necessary. A better newererer way to do this would be able to remove focus from focusable elements using the inert attribute (I've used this on client projects).

Either way would work for core though.

πŸ› Bug report
Status

Active

Version

11.0

Component
NavigationΒ  β†’

Last updated 29 days ago

No maintainer
Created by

πŸ‡ΊπŸ‡ΈUnited States mherchel Gainesville, FL, US

Live updates comments and jobs are added and updated live.
  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024