Button Block: Adding close button on the link control toggle or allow to close it using Esc key #34307
Closed
2 tasks done
Labels
[Block] Buttons
Affects the Buttons Block
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
[Priority] High
Used to indicate top priority items that need quick attention
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Milestone
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
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
The text was updated successfully, but these errors were encountered: