patternfly / patternfly-elements

PatternFly Elements. A set of community-created web components based on PatternFly design.
https://patternflyelements.org/
MIT License
379 stars 96 forks source link

pf-jump-links shadow root nav container axeDevTools error ('Landmarks should have a unique role or role/label/title (i.e. accessible name) combination') #2860

Open rmscampos opened 1 month ago

rmscampos commented 1 month ago

Description of the issue

I am encountering an axeDevTools issue with the pf-jump-links shadow root nav container. It doesn't have a unique aria-label and the nav semantic element is conflicting with our pfe-navigation__menu-wrapper in our primary nav element.

Impacted component(s)

https://patternflyelements.org/components/jump-links/

Steps to reproduce

  1. Go to https://catalog.redhat.com/cloud/detail/256907
  2. Run an axeDevTools scan
  3. See error 'Landmarks should have a unique role or role/label/title (i.e. accessible name) combination'

Expected behavior

Expected to no get an error or be able to control the labels of the nav component, maybe?

Screenshots

Image

Image

Image

Related issues