ucsc / ucsc-2022

Official WordPress theme for UC Santa Cruz
6 stars 0 forks source link

ARIA navigation role attribute is not allowed on `a` elements (.skip-link) #309

Closed knice closed 3 months ago

knice commented 3 months ago

Issue

Ensures role attribute has an appropriate value for the element (aria-allowed-role)

Element path

.skip-link

Snippet

<a role="navigation" aria-label="skip to content" class="skip-link screen-reader-text" href="#wp--skip-link--target">Skip to content</a>

How to fix

Fix any of the following:
  ARIA role navigation is not allowed for given element

Environment

knice commented 3 months ago

This is fixed in v3.8.0 of the theme. Deployed to www.ucsc.edu and this issue is resolved.