WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 2 weeks ago

#21414 assigned enhancement

Use the "Keyboard Shortcuts" checkbox in the user profile to turn on/off all custom shortcuts

Reported by: azaozz Owned by: azaozz
Milestone: 4.6 Priority: normal
Severity: normal Version:
Component: TinyMCE Keywords: ux-feedback needs-refresh
Focuses: accessibility Cc:

Description

Custom keyboard shortcuts can be very handy not only for better accessibility but for faster access to many actions that usually require "mousing". For example we could potentially add shortcuts to access the top menu items or the more commonly used toolbar items.

However many of the available keystrokes (modifier [+ modifier] + letter) are already in use. Even worse, different shortcuts are in use in different browsers and different OS.

It would be good to let the users decide whether to enable them. As we already have a checkbox for the comment moderation shortcuts, best would be to make it "global". For now that would only affect TinyMCE.

Attachments (1)

21414.patch (15.1 KB) - added by azaozz 4 years ago.

Download all attachments as: .zip

Change History (12)

#1 @azaozz
4 years ago

  • Keywords ux-feedback added

@azaozz
4 years ago

#2 @azaozz
4 years ago

21414.patch:

  • Changes the User Profile -> Keyboard Shortcuts checkbox label to "Enable keyboard shortcuts".
  • Adds options to TinyMCE to enable/disable the custom shortcuts and define the modifier key(s).
  • Sets the TinyMCE buttons descriptions with or without the shortcuts strings.

#4 @nacin
2 years ago

  • Component changed from Accessibility to TinyMCE
  • Focuses accessibility added

For the record, not sure I love this.

This ticket was mentioned in Slack in #accessibility by afercia. View the logs.


9 months ago

#6 @ceo
9 months ago

Keyboard shortcuts are terribly useful and I'm always surprised how many people are not more aware of them.

However, as a screen reader user, they can be somewhat of a nuisance since they can so easily conflict with the commands already in place. And since these are different depending on what screen reader you might be using, plus the browser and OS, I think it's very important to have a toggle to disable them.

As it is in all the time I've used WP, I have never had the comment shortcuts enabled. Very wacky things happen.

This ticket was mentioned in Slack in #accessibility by rianrietveld. View the logs.


9 months ago

#8 @iseulde
7 months ago

  • Keywords close added

However many of the available keystrokes (modifier [+ modifier] + letter) are already in use. Even worse, different shortcuts are in use in different browsers and different OS.

Is this still relevant? I think we resolved all conflicts?

#9 @helen
7 months ago

Not sure if overall this is all that relevant anymore, but I do think that this option should be in profile/personal settings instead of a "screen option" - we use screen options for a mix of things, but generally they are about the display of the screen, and it's pretty strange to set personal preferences in multiple places. I would not want to see one global keyboard shortcuts option in default UI, though.

This ticket was mentioned in Slack in #accessibility by rianrietveld. View the logs.


2 weeks ago

#11 @afercia
2 weeks ago

  • Keywords needs-refresh added; close removed
  • Milestone changed from Awaiting Review to 4.6
  • Owner set to azaozz
  • Status changed from new to assigned

Discussed a bit in today's accessibility bug scrub meeting, this is something we'd recommend to introduce in 4.6. Especially screen reader users may experience conflicts with existing shortcuts and it just make sense to add an option in profile/personal settings near the existing ones for comments.
Milestoning for 4.6 and assigning to @azaozz :) Any thoughts more than welcome.

Note: See TracTickets for help on using tickets.