Skip to content

Commit

Permalink
Simplify warning message in Navigation block settings. Fixes WordPres…
Browse files Browse the repository at this point in the history
  • Loading branch information
towfeeqkhan committed Dec 24, 2024
1 parent f91990d commit 95eb013
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -297,5 +297,8 @@
},
"workspaces": [
"packages/*"
]
],
"dependencies": {
"eslint": "8.3.0"
}
}
2 changes: 1 addition & 1 deletion packages/block-library/src/navigation/edit/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ function Navigation( {
const submenuAccessibilityNotice =
! showSubmenuIcon && ! openSubmenusOnClick
? __(
'The current menu options offer reduced accessibility for users and are not recommended. Enabling either "Open on Click" or "Show arrow" offers enhanced accessibility by allowing keyboard users to browse submenus selectively.'
'Reduced accessibility. Enable "Open on Click" or "Show arrow" for better keyboard navigation.'
)
: '';

Expand Down

0 comments on commit 95eb013

Please sign in to comment.