Make aria-label translatable
Content of aria-label may get read out loud and thus should be translatable.
This commit is contained in:
parent
e9f2b82423
commit
afeaa14b82
|
@ -55,7 +55,7 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
the_custom_logo();
|
the_custom_logo();
|
||||||
} ?><!-- end custom logo -->
|
} ?><!-- end custom logo -->
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="<?php esc_attr_e( 'Toggle navigation', 'understrap' ); ?>">
|
||||||
<span class="navbar-toggler-icon"></span>
|
<span class="navbar-toggler-icon"></span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
|
Reference in New Issue