Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 301934

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

$
0
0

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.


Viewing all articles
Browse latest Browse all 301934

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>