Remove redundant WAI-ARIA role attributes from <main>, <nav>, <aside>, <header>, and <footer> elements

Created on 24 January 2016, almost 9 years ago
Updated 2 May 2023, over 1 year ago

POSTPONED: As long as we support IE11, these role attributes are staying. Detailed explanation in comment #14

--------------

This is a follow-up of #2467827: [META] W3C validation for Drupal Core

Drupal core added a lot of WAI-ARIA roles to Drupal core (which is a good thing), but in the process lots of unneeded duplicates are added as well.
A WAI-ARIA role is needed when the markup itself isn't clear. But markup like and is superfluous since the HTML elements themselves already explain their role. Having these (duplicate) attributes makes W3C validation fail and we don't want that.

🐛 Bug report
Status

Needs work

Version

10.1

Component
Markup 

Last updated about 1 month ago

No maintainer
Created by

🇳🇱Netherlands BarisW Amsterdam

Live updates comments and jobs are added and updated live.
  • 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.

  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

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