AlaskaAirlines / auro-sidenav

Custom element that provides users a way to create navigational interfaces
https://auro.alaskaair.com/components/auro/sidenav
Apache License 2.0
0 stars 1 forks source link

Update element to support native semantic definitions #16

Closed blackfalcon closed 7 months ago

blackfalcon commented 8 months ago

Is your feature request related to a problem? Please describe.

The current version of the auro-sidenav is void of any semantic meaning. This will result in incorrect SEO definitions and may cause accessibility issues.

Describe the solution you'd like

Update the sidenbav to support the semantic roles as described in this article https://www.semrush.com/blog/semantic-html5-guide/

That said, we cannot simply add aside and nav HTML elements. This update should add the appropriate ARIA roles to the custom elements to give their semantic definition.

Describe alternatives you've considered

n/a

Additional context

This issue can be closed once the custom HTML structure fits the model of HTML5 semantic elements.