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

Created on 1 August 2023, over 1 year 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

Active

Version

2.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.71.5 2024