-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Button Block: Adding close button on the link control toggle or allow to close it using Esc key #34307
Copy link
Copy link
Closed
Labels
[Block] ButtonsAffects the Buttons BlockAffects the Buttons Block[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).Changes that impact accessibility and need corresponding review (e.g. markup changes).[Priority] HighUsed to indicate top priority items that need quick attentionUsed to indicate top priority items that need quick attention[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Milestone
Description
Description
While I was testing for the FSE Program testing, I noticed there was no way to close the Button link toggle using Keyboard.
Step-by-step reproduction instructions
- Create a button and enter text link
- Open the link control toggle by using Ctrl+K or ⌘+K
- Once the toggle opens, search a post or page in the search bar
- Select a post or page using down arrow key
- Click Tab, and Enter to submit
Once submitted, the link control toggle stays open, and keyboard focus loops within the toggle.
I tried using the Esc key and the arrow keys but could not figure out a way to close the toggle.
Screenshots, screen recording, code snippet
Environment info
No response
Pre-checks
- I have searched the existing issues.
- I have tested with all plugins deactivated except Gutenberg.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Block] ButtonsAffects the Buttons BlockAffects the Buttons Block[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).Changes that impact accessibility and need corresponding review (e.g. markup changes).[Priority] HighUsed to indicate top priority items that need quick attentionUsed to indicate top priority items that need quick attention[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Type
Fields
Give feedbackNo fields configured for issues without a type.
