Skip to content

Commit

Permalink
Social Menu: remove role navigation attribute from nav item (#22224)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeherve authored Jan 5, 2022
1 parent 528d336 commit d2f9c40
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions projects/plugins/jetpack/changelog/update-social-menu-nav
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: other

Social Menu: remove role navigation attribute from nav item.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function jetpack_social_menu() {
if ( 'svg' === $menu_type ) {
$link_after .= jetpack_social_menu_get_svg( array( 'icon' => 'chain' ) );
} ?>
<nav class="jetpack-social-navigation jetpack-social-navigation-<?php echo esc_attr( $menu_type ); ?>" role="navigation" aria-label="<?php esc_html_e( 'Social Links Menu', 'jetpack' ); ?>">
<nav class="jetpack-social-navigation jetpack-social-navigation-<?php echo esc_attr( $menu_type ); ?>" aria-label="<?php esc_html_e( 'Social Links Menu', 'jetpack' ); ?>">
<?php
wp_nav_menu(
array(
Expand Down

0 comments on commit d2f9c40

Please sign in to comment.