WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.34k stars 4.13k forks source link

Shortcuts for Move up (T) / Move down (Y) are bad as T and Y are neighboring keys only on QWERTY keyboards - Better use arrow keys plus modifiers #51645

Open porg opened 1 year ago

porg commented 1 year ago
porg commented 1 year ago

Hi, I ping you, as you were originally involved: @ZebulanStanphill as you opened #10455 @ntsekouras as you coded #23276

hanneslsm commented 1 year ago

Oh, wow. It never came to my mind that T and Y could be neighbouring keys. I always struggled with remembering the shortcuts lol

When tackling this issue, we should not forget that Add before & Add after have similar shortcuts.

porg commented 1 year ago
talldan commented 1 year ago

I don't think it was possible to use arrow keys, otherwise arrow keys would definitely have been used.

WordPress has generally taken the approach of not overriding existing text manipulation, browser and OS shortcuts, and unfortunately that leaves very few options. I think arrow keys are almost entirely reserved for text manipulation or OS level shortcuts.

porg commented 1 year ago
  1. Not overriding keyboard shortcuts and not overriding the right click context-menu leaves only the possibilities for a rather mediocre UX on Desktop devices, given that the Block Editor already has and foresee-able will get quite many shortcuts. Many web apps dare to do this and do this really well. And feel very native and efficient that way.

  2. Also to strive for cross platform consistency regarding shortcuts is ok. But not at all cost. In some regards the differences should be respected.

    • For an individual user it is more beneficial if shortcuts are consistent with the platform and other apps they use on a daily basis (high probability)
    • …rather than being able to operate WordPress when cycling between different Desktop OS (far less likely).