To align with German (and global) accessibility rules all page content has to be contained by landmarks like role="banner", role="navigation", role="main", or role="contentinfo". Currently these landmarks are missing completely. How can I add them to the theme and the page builder widgets so they are protected by theme updates?
I just figured the secondary navigation <nav> element in the secondary header bar needs an aria-label attribute to be compliant. Something like <nav aria-label="secondary-nav"> in the secondary-navigation.php file in the folder includes/partials/header/
To align with German (and global) accessibility rules all page content has to be contained by landmarks like role="banner", role="navigation", role="main", or role="contentinfo". Currently these landmarks are missing completely. How can I add them to the theme and the page builder widgets so they are protected by theme updates?
This is the page with the them: https://schuh-sport-haaf.de/
Here ist the accessibility audit: https://www.accessibilitychecker.org/audit/?website=https%3A%2F%2Fschuh-sport-haaf.de&flag=ge
Attached files: Bildschirmfoto 2025-05-05 um 15.32.44.png
I just figured the secondary navigation <nav> element in the secondary header bar needs an aria-label attribute to be compliant. Something like <nav aria-label="secondary-nav"> in the secondary-navigation.php file in the folder includes/partials/header/