Span tag for empty toggle control should be a button for accessibility

Created on 1 August 2023, 11 months ago
Updated 1 May 2024, about 2 months ago

Problem/Motivation

We're getting accessibility errors for having the aria-expanded attribute on a span tag.

Steps to reproduce

Run an accessibility check on menus that have a no-link menu toggle.

Proposed resolution

Change the span to a button tag

🐛 Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

🇺🇸United States medinasod

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.69.0 2024