-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paragraphs should be converted to headings using existing keyboard shortcuts #11173
Comments
Confirmed functionality does not meet the Keyboard Shortcuts outlined in the WordPress Codex. Note, implementation requires transforming from the Paragraph block type to the Heading block type. Confirmed with
|
Latest version (4.3) has added the hashes markdown shortcut |
This was recently reported also on Trac, see: https://core.trac.wordpress.org/ticket/51089 The accessibility team discussed this issue during the latest weekly meeting on Slack and agreed implementing the keyboard shortcuts to change heading levels that are available in the Classic Editor would be a good improvement, also considering feature parity. To recap:
Regarding screen readers, worth reminding all the keyboard shortcuts that use control + option as modifier don't work with VoiceOver on masOS, as they conflict with native VoiceOver shortcuts. See https://core.trac.wordpress.org/ticket/39271, #11154 and the related #3218 which is the only way to solve conflicts. |
@ellatrix we discussed this before and I remembered you had some concerns. What do you think of supporting them? |
ALT+SHIFT is not a good combo as it can produce input. CTRL+OPTION seems ok, if it doesn't clash with browser shortcuts. |
+1 on that. Alt+Shift is used by many to switch keyboard locales |
Describe the bug
Keyboard and formatting shortcuts that exist in the "classic" editor that convert paragraphs to headings should also apply to the paragraph block.
To Reproduce
ALT
+SHIFT
+ a number 1-6or
Expected behavior
The paragraph block should be converted to a heading block with the heading level matching the number of the key pressed or the number of hashes that preface the paragraph
Additional context
The text was updated successfully, but these errors were encountered: