From 76f58cf5c380cff90cf876c6446c46354926b560 Mon Sep 17 00:00:00 2001 From: Nik Tsekouras Date: Mon, 21 Oct 2024 16:45:14 +0300 Subject: [PATCH] Update the speak messages when switching editor modes (#66278) Co-authored-by: ntsekouras Co-authored-by: afercia Co-authored-by: youknowriad Co-authored-by: PARTHVATALIYA --- packages/block-editor/src/store/actions.js | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/packages/block-editor/src/store/actions.js b/packages/block-editor/src/store/actions.js index 24a08ecb21d6e5..6edc5cb4da0393 100644 --- a/packages/block-editor/src/store/actions.js +++ b/packages/block-editor/src/store/actions.js @@ -1673,17 +1673,9 @@ export const __unstableSetEditorMode = registry.dispatch( preferencesStore ).set( 'core', 'editorTool', mode ); if ( mode === 'navigation' ) { - speak( - __( - 'You are currently in navigation mode. Navigate blocks using the Tab key and Arrow keys. Use Left and Right Arrow keys to move between nesting levels. To exit navigation mode and edit the selected block, press Enter.' - ) - ); + speak( __( 'You are currently in Write mode.' ) ); } else if ( mode === 'edit' ) { - speak( - __( - 'You are currently in edit mode. To return to the navigation mode, press Escape.' - ) - ); + speak( __( 'You are currently in Design mode.' ) ); } };