Some HTML elements have redundant ARIA roles
Created by: metamoni
- What were you trying to do?
I noticed that the
headerin the index view has a redundantroleproperty. There are otherheaderelements that have the same issue, as well as amainwith a redundantrole="main", anavwithrole="navigation"and aththat has arole="columnheader".
<header class="main-content__header" role="banner">
While this doesn't cause any technical issues, it's bad practice and it encourages other developers to follow the same pattern.
A list of all implicit roles is available here: ARIA in HTML
-
What did you end up with (logs, or, even better, example apps are great!)? N/A
-
What versions are you running?
- Rails: 7.0.2.3
- administrate: 0.17.0