Status Message in Claro on theme install should have role="status" or similar instead of contentinfo

Created on 17 July 2020, over 4 years ago
Updated 16 May 2023, over 1 year ago

Steps to reproduce

  1. Make sure one of the admin themes is turned on (either Claro or Seven), but that the other admin theme is uninstalled.
  2. Install the other admin theme of your choosing. There will be a success and/or warning message that the theme was installed
  3. Inspecting the status HTML, you should find it coded as: <div role="contentinfo" aria-label="Status message" class="messages messages--status">...<div>. This is true for both success and warning.
  4. Ways to Fix

    Since the footer element maps to a contentinfo, using this role for statuses doesn't make sense and should be changed to <div role="status" aria-label="Status message" class="messages messages--status">...<div>, or <div aria-live="polite" aria-atomic="true" aria-label="Status message" class="messages messages--status">...<div> if there are concerns about backwards compatibility.

    Choosing the Claro theme since that's a top priority, but this does occur in the Seven admin theme as well.

πŸ› Bug report
Status

Needs work

Version

10.1 ✨

Component
MarkupΒ  β†’

Last updated about 1 month ago

No maintainer
Created by

πŸ‡ΊπŸ‡ΈUnited States CarlyGerard

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

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