diff --git a/packages/block-library/src/navigation/edit/index.js b/packages/block-library/src/navigation/edit/index.js
index 90b83915a7035a..7276f2c3bc6802 100644
--- a/packages/block-library/src/navigation/edit/index.js
+++ b/packages/block-library/src/navigation/edit/index.js
@@ -43,6 +43,7 @@ import {
import { __, sprintf } from '@wordpress/i18n';
import { speak } from '@wordpress/a11y';
import { close, Icon } from '@wordpress/icons';
+import { useInstanceId } from '@wordpress/compose';
/**
* Internal dependencies
@@ -500,6 +501,11 @@ function Navigation( {
isFirstRender.current = false;
}, [ submenuAccessibilityNotice ] );
+ const overlayMenuPreviewId = useInstanceId(
+ OverlayMenuPreview,
+ `overlay-menu-preview`
+ );
+
const colorGradientSettings = useMultipleOriginColorsAndGradients();
const stylingInspectorControls = (
<>
@@ -515,6 +521,9 @@ function Navigation( {
! overlayMenuPreview
);
} }
+ aria-label={ __( 'Overlay menu controls' ) }
+ aria-controls={ overlayMenuPreviewId }
+ aria-expanded={ overlayMenuPreview }
>
{ hasIcon && (
<>
@@ -529,13 +538,16 @@ function Navigation( {
>
) }
- { overlayMenuPreview && (
-