Page MenuHomePhabricator

Make the "Keyboard Shortcuts" dialog in Differential less hideous
ClosedPublic

Authored by epriestley on Apr 18 2020, 6:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 20, 5:13 PM
Unknown Object (File)
Tue, Apr 16, 10:01 PM
Unknown Object (File)
Tue, Apr 16, 6:58 AM
Unknown Object (File)
Wed, Apr 3, 3:55 AM
Unknown Object (File)
Wed, Apr 3, 3:55 AM
Unknown Object (File)
Wed, Apr 3, 3:55 AM
Unknown Object (File)
Wed, Apr 3, 1:52 AM
Unknown Object (File)
Mon, Apr 1, 4:13 PM
Subscribers

Details

Summary

Ref T13515. Adding "\" ("Open in External Editor") made this slighlty worse, but it was already pretty bad.

Long ago the keys had a special style on them, but this got changed and dropped somewhere around D16568 -- although at the time, I think they still had a grey background (see T11654).

Some later change removed this background.

Put the background back and separate the keystrokes into groups.

Test Plan

Screen Shot 2020-04-18 at 11.17.53 AM.png (1×1 px, 275 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Apr 19 2020, 4:01 PM
This revision was automatically updated to reflect the committed changes.

Looking at it now, it looks very nice, but there should probably be a way to navigate the groups by keyboard?

(Then you'd need another keystroke to bring up the "Keyboard Reference Dialog Keyboard Reference", though, so you could get a list of the keys for navigating the groups!)

It's not obvious to me that this dialog should be keyboard-navigable. My goal with keyboard shortcuts isn't to support use of Phabricator without a mouse: if using a mouse is difficult for you (for example, because you're blind or have limited dexterity which prevents you from using a mouse accurately as a pointing device) I think you're likely best served by real accessibility tools (VoiceOver, etc) that tackle this goal directly. Other pieces of Phabricator (like "aural" / "visual" elements) exist to support these systems. My expectation is that this dialog should generally be navigable with these tools.

Instead, I'm trying to make Phabricator more comfortable to use for users who don't have any physical challenges using a mouse, but find keyboard commands more convenient for repeated/routine tasks. In my mind, reviewing the keyboard reference shouldn't be a high-frequency task for these users, since they'll identify the commands they want to use and then learn them quickly through repetition.