Add aria-labelledby
This commit is contained in:
parent
5877e21228
commit
a5c9784349
|
@ -30,9 +30,9 @@ $container = get_theme_mod( 'understrap_container_type' );
|
|||
|
||||
<a class="skip-link sr-only sr-only-focusable" href="#content"><?php esc_html_e( 'Skip to content', 'understrap' ); ?></a>
|
||||
|
||||
<nav class="navbar navbar-expand-md navbar-dark bg-primary">
|
||||
<nav class="navbar navbar-expand-md navbar-dark bg-primary" aria-labelledby="main-nav-label">
|
||||
|
||||
<h2 class="sr-only">
|
||||
<h2 id="main-nav-label" class="sr-only">
|
||||
<?php esc_html_e( 'Main Navigation', 'understrap' ); ?>
|
||||
</h2>
|
||||
|
||||
|
|
Reference in New Issue