"drupal-live-announce" is not contained in a landmark.

Created on 4 December 2019, almost 5 years ago
Updated 23 March 2023, over 1 year ago

I was recently reviewing the new Claro theme for accessibility and stumbled onto a missed WCAG level A requirement: the generated div with id "drupal-live-announce" is not contained in a proper landmark.

Steps to reproduce:

1. Create a new Drupal site (8.8 or greater).
2. Set Claro as the default administration theme and disable all other themes.
3. Scan admin pages that include live announce functionality (eg. admin/reports) with a WCAG compliance tool, such as AInspector WCAG for Firefox

Expected Result: 0 errors
Actual Result: 1 or more errors, including an error raising the fact that a rendered <div> tag is not contained in a landmark.

Severity: Normal. This is required for full WCAG level A compliance.

Proposed resolution:

The same javascript that currently creates the div can also create a parent landmark with an appropriate role and label.

πŸ› Bug report
Status

Needs work

Version

10.1 ✨

Component
JavascriptΒ  β†’

Last updated 2 days ago

Created by

πŸ‡ΊπŸ‡ΈUnited States moghingold

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.

  • Needs accessibility review

    Used to alert the accessibility topic maintainer(s) that an issue significantly affects (or has the potential to affect) the accessibility of Drupal, and their signoff is needed (see the governance policy draft for more information). Useful links: Drupal's accessibility standards, the Drupal Core accessibility gate.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024