Help modal dialog: inaccurate description for the Insert link keyboard shortcut #54148
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
[Package] Edit Post
/packages/edit-post
[Package] Edit Site
/packages/edit-site
[Package] Edit Widgets
/packages/edit-widgets
[Type] Bug
An existing feature does not function as intended
Description
Noticed while looking into #51737
In the Keyboard shortcuts modal dialog, the description for the Ctrl/Cmd+k shortcut is:
Convert the selected text into a link.
That's inaccurate. The shortcut works also without a selection, when the cursor is within any block with text. It works also when the cursor isn't inside any text and it's actially in an empty space. That's how it always worked in WordPress since ages. There are good reasons for this behavior, as it provides users with more flexibility.
However, the current description actually hides how this feature works and it's misleading. It doesn't help with discoverability. The descritpion should be simpler and mroe generic, to match the actual behavior:
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: