File tree 4 files changed +5
-5
lines changed
4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 45
45
</div>
46
46
47
47
<?php if ( $ footer_nav_menu ) : ?>
48
- <nav class="site-navigation <?php echo esc_attr ( hello_show_or_hide ( 'hello_footer_menu_display ' ) ); ?> ">
48
+ <nav class="site-navigation <?php echo esc_attr ( hello_show_or_hide ( 'hello_footer_menu_display ' ) ); ?> " aria-label=" <?php echo esc_attr__ ( ' Footer menu ' , ' hello-elementor ' ); ?> " >
49
49
<?php
50
50
// PHPCS - escaped by WordPress with "wp_nav_menu"
51
51
echo $ footer_nav_menu ; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
Original file line number Diff line number Diff line change 51
51
</div>
52
52
53
53
<?php if ( $ header_nav_menu ) : ?>
54
- <nav class="site-navigation <?php echo esc_attr ( hello_show_or_hide ( 'hello_header_menu_display ' ) ); ?> ">
54
+ <nav class="site-navigation <?php echo esc_attr ( hello_show_or_hide ( 'hello_header_menu_display ' ) ); ?> " aria-label=" <?php echo esc_attr__ ( ' Main menu ' , ' hello-elementor ' ); ?> " >
55
55
<?php
56
56
// PHPCS - escaped by WordPress with "wp_nav_menu"
57
57
echo $ header_nav_menu ; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
65
65
<span class="screen-reader-text"><?php echo esc_html__ ( 'Menu ' , 'hello-elementor ' ); ?> </span>
66
66
</button>
67
67
</div>
68
- <nav class="site-navigation-dropdown <?php echo esc_attr ( hello_show_or_hide ( 'hello_header_menu_display ' ) ); ?> " aria-hidden="true" inert>
68
+ <nav class="site-navigation-dropdown <?php echo esc_attr ( hello_show_or_hide ( 'hello_header_menu_display ' ) ); ?> " aria-label=" <?php echo esc_attr__ ( ' Mobile menu ' , ' hello-elementor ' ); ?> " aria- hidden="true" inert>
69
69
<?php
70
70
// PHPCS - escaped by WordPress with "wp_nav_menu"
71
71
echo $ header_mobile_nav_menu ; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
Original file line number Diff line number Diff line change 18
18
?>
19
19
<footer id="site-footer" class="site-footer">
20
20
<?php if ( $ footer_nav_menu ) : ?>
21
- <nav class="site-navigation">
21
+ <nav class="site-navigation" aria-label=" <?php echo esc_attr__ ( ' Footer menu ' , ' hello-elementor ' ); ?> " >
22
22
<?php
23
23
// PHPCS - escaped by WordPress with "wp_nav_menu"
24
24
echo $ footer_nav_menu ; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
Original file line number Diff line number Diff line change 40
40
</div>
41
41
42
42
<?php if ( $ header_nav_menu ) : ?>
43
- <nav class="site-navigation">
43
+ <nav class="site-navigation" aria-label=" <?php echo esc_attr__ ( ' Main menu ' , ' hello-elementor ' ); ?> " >
44
44
<?php
45
45
// PHPCS - escaped by WordPress with "wp_nav_menu"
46
46
echo $ header_nav_menu ; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
You can’t perform that action at this time.
0 commit comments