Add aria-label to <nav>
This commit is contained in:
parent
91cba1ccac
commit
27824b3c9c
|
@ -30,7 +30,7 @@ $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>
|
<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-label="<?php echo esc_attr_x( 'Main', 'navigation', 'understrap' ); ?>">
|
||||||
|
|
||||||
<?php if ( 'container' == $container ) : ?>
|
<?php if ( 'container' == $container ) : ?>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
Reference in New Issue