On the mobile version, the "modal" overlay for the expanded sidebar has an invalid ARIA attribute: aria-expanded
.
Title: WCAG 4.1.2: Ensure an element's role supports its ARIA attributes (.admin-toolbar-overlay) Tags: Accessibility, WCAG 4.1.2, aria-allowed-attr Issue: Ensure an element's role supports its ARIA attributes (aria-allowed-attr - https://accessibilityinsights.io/info-examples/web/aria-allowed-attr) Target application: admin | Drush Site-Install - https://drupal-core-dev.ddev.site/user/1/edit?pass-reset-token=3M28uFtT7L8cxINMn9OnEPObJbFuTcfPcIyVtmtD9LfeLhvgzJJRDLLVO4s-3MZxDbqgcDOnOQ&check_logged_in=1 Element path: .admin-toolbar-overlay Snippet: <div class="admin-toolbar-overlay" aria-controls="admin-toolbar" data-drupal-admin-styles="" data-once="admin-toolbar-trigger" aria-expanded="true"></div> How to fix: Fix all of the following: ARIA attribute is not allowed: aria-expanded="true"
<div class="admin-toolbar-overlay" aria-controls="admin-toolbar" data-drupal-admin-styles="" data-once="admin-toolbar-trigger" aria-expanded="true"></div>
The problem appears to be that the overlay is a simple div
with no special role, but it's a pseudo disclosure widget control. The sidebar looks like a hybrid disclosure widget / modal dialog.
aria-expanded
can only be used on certain roles.
The web.dev native dialog example doesn't close on a click
outside the dialog, so that's not a helpful example.
The Modal Dialog Example of the ARIA Authoring Practices Guide (APG) uses a similar modal overlay ("backdrop") that does not have aria-expanded
or aria-controls
.
Based on the APG example, I propose:
aria-expanded
attribute.aria-controls
attribute.Active
11.0 π₯
navigation.module
It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
No activities found.