Consider allowing header[role=banner] #3108
Labels
best practice
good first issue
For first-time contributors
pr
A pr has been created for the issue
rules
Issue or false result from an axe-core rule
This fails
aria-allowed-role
, in addition to failinglandmark-banner-is-top-level
. It's probably better for axe-core to only fail it under the top-level rule. It's a little odd to allow role=banner on aheader
if it's at the top, but to fail it if it's inside another landmark.The same problem exists for other landmarks. I think the fix is to add
banner
to the header element in standards/html-elms.js.The text was updated successfully, but these errors were encountered: