diff --git a/packages/block-editor/src/components/color-palette/test/__snapshots__/control.js.snap b/packages/block-editor/src/components/color-palette/test/__snapshots__/control.js.snap index 488c01e33f1c17..24ffcf37be5094 100644 --- a/packages/block-editor/src/components/color-palette/test/__snapshots__/control.js.snap +++ b/packages/block-editor/src/components/color-palette/test/__snapshots__/control.js.snap @@ -150,7 +150,6 @@ exports[`ColorPaletteControl matches the snapshot 1`] = ` fill="#000" focusable={false} height={24} - role="img" viewBox="0 0 24 24" width={24} xmlns="http://www.w3.org/2000/svg" diff --git a/packages/block-library/src/navigation-link/index.php b/packages/block-library/src/navigation-link/index.php index deeee6adddf42e..bae89606496ae7 100644 --- a/packages/block-library/src/navigation-link/index.php +++ b/packages/block-library/src/navigation-link/index.php @@ -110,7 +110,7 @@ function block_core_navigation_link_build_css_font_sizes( $context ) { * @return string */ function block_core_navigation_link_render_submenu_icon() { - return ''; + return ''; } /** diff --git a/packages/block-library/src/navigation-submenu/index.php b/packages/block-library/src/navigation-submenu/index.php index 6da79414c4beb3..59d4f300c226b1 100644 --- a/packages/block-library/src/navigation-submenu/index.php +++ b/packages/block-library/src/navigation-submenu/index.php @@ -110,7 +110,7 @@ function block_core_navigation_submenu_build_css_font_sizes( $context ) { * @return string */ function block_core_navigation_submenu_render_submenu_icon() { - return ''; + return ''; } /** diff --git a/packages/block-library/src/navigation/edit/overlay-menu-icon.js b/packages/block-library/src/navigation/edit/overlay-menu-icon.js index bec698763e5216..78e537c1d4d614 100644 --- a/packages/block-library/src/navigation/edit/overlay-menu-icon.js +++ b/packages/block-library/src/navigation/edit/overlay-menu-icon.js @@ -10,7 +10,6 @@ export default function OverlayMenuIcon() { viewBox="0 0 24 24" width="24" height="24" - role="img" aria-hidden="true" focusable="false" > diff --git a/packages/block-library/src/navigation/index.php b/packages/block-library/src/navigation/index.php index c9d43a590c0d9a..40982551475d8d 100644 --- a/packages/block-library/src/navigation/index.php +++ b/packages/block-library/src/navigation/index.php @@ -245,7 +245,7 @@ function block_core_navigation_build_css_font_sizes( $attributes ) { * @return string */ function block_core_navigation_render_submenu_icon() { - return ''; + return ''; } @@ -539,7 +539,7 @@ function render_block_core_navigation( $attributes, $content, $block ) { $is_hidden_by_default ? 'always-shown' : '', ); - $toggle_button_icon = ''; + $toggle_button_icon = ''; $should_display_icon_label = isset( $attributes['hasIcon'] ) && true === $attributes['hasIcon']; $toggle_button_content = $should_display_icon_label ? $toggle_button_icon : 'Menu'; @@ -548,7 +548,7 @@ function render_block_core_navigation( $attributes, $content, $block ) {