Skip to content

Fix: improve code-mirror accessibility (tab trap)#349

Merged
imantsk merged 2 commits intocore-betafrom
a11y-code-mirror
Apr 14, 2026
Merged

Fix: improve code-mirror accessibility (tab trap)#349
imantsk merged 2 commits intocore-betafrom
a11y-code-mirror

Conversation

@rami-elementor
Copy link
Copy Markdown
Contributor

Code mirror has a tab trap issue (not really.

This PR solves it by adding usage instruction - Tab to add tab character, and Escape+Tab to exit the code editor.

image

See related issue in WordPress core - https://core.trac.wordpress.org/changeset/41586

@imantsk imantsk merged commit aa67bfe into core-beta Apr 14, 2026
8 checks passed
@imantsk imantsk deleted the a11y-code-mirror branch April 14, 2026 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants