Role not removed from uls

Created on 17 October 2024, 2 months ago

Problem/Motivation

Per the comment in this resolved issue https://www.drupal.org/project/tb_megamenu/issues/3192235#comment-13963908 β†’ - aren't the list roles on menu uls supposed to be removed? They still exist, and because their parent list items don't have a role, accessibility tools are marking the mega menu as out of compliance per: https://www.w3.org/WAI/standards-guidelines/act/rules/bc4a75/proposed/

Steps to reproduce

Check markup: role="list" still exists on the ul tags.

Proposed resolution

Remove $vars['attributes']['role'] = 'list'; from subnav, submenu, and nav functions.

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States toddwalden Kansas City, MO

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