You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a1f7749
Browse filesBrowse the repository at this point in the historyBrowse files
Editor: Don't move focus to the Classic editor when using the keyboard to switch editor mode.
Pointing device (mouse, touch, etc.) users benefit from focus being moved to the editor when switching it from Visual to Code mode and vice-versa, as they can just keep typing without loosing the previous caret position or selection. However, moving focus is confusing and distracting to keyboard and screen reader users as they loose their place. In this case, focus should stay on the switch buttons.
Previous caret position or selection is preserved in both cases.
Developed in #13560
Props shreya0shrivastava, dannerjamanca, arkaprabhachowdhury, afercia.
Fixes #42540.
git-svn-id: https://develop.svn.wordpress.org/trunk@63759 602fd350-edb4-49c9-b593-d223f7449a82
0 commit comments