Adding a small number of key commands could really help improve the user experience for users that prefer to use the keyboard more than a mouse. This is obviously not going to help users on touch devices but it could really help to speed up editing for desktop power users.

  • [CTRL|CMD] + e: Enter edit mode.
  • Arrow keys: Used to select (focus) individual fields for editing.
  • ENTER: Start editing the currently focused field.
  • [CTRL|CMD] + ENTER: Saving the field in its current state.
  • ESC: Cancel editing a particular field, or exit Edit mode if no field is currently being edited.

The only “global” key command (those which are active outside Edit mode) would be the one for activating Edit mode.

Comments

wim leers’s picture

YES! OMG YES!

(I've thought of this as well, but it's just such an intangible thing that I wanted to postpone it.)

Bojhan’s picture

This would be a great efficiency boost.

Keep in mind that this shouldn't interfere with shortcuts used for accessibility purposes. Not talking access keys, but there are some common keys that are used for exiting out of fields, entering into etc. It's best to shoot a msg to the accessibility team, as they can provide guidance on this.

Everett Zufelt’s picture

How exactly would we communicate these commands to the average user? I.e. would the 80% know that these even exist?

Bojhan’s picture

@Everett I don't think it is for the average user. Shortcuts are primarily for the 1/2% of users who are hardcore editors and learn about it through documents. We can teach them through alt-text on a few of these items.

wim leers’s picture

@Bojhan: I agree with the rationale behind your statement, but I have a follow-up question. In case of Microsoft Word, is it really only a few percent of users who use shortcuts in practice? I.e., is >90% of its users always grabbing the mouse for these actions?

Bojhan’s picture

@Wim It largely depends, there is a very long tail on "shortcut" useage (e.g. copy/save is very commonly used, while a large part of the other shortcuts are rarely used). Microsoft released some data on the use age, although we have no background on what method/participant pool they used for these figures. Keep in mind though, that the web is a different medium therefor these figures might or might not match.

  • +- 50% of the user base uses CTRL+C
  • +- 27% of users use CTRL+S
  • Almost everything else is along the long tail of > 2%

This is mentioned by Jensen Harris in http://blogs.msdn.com/b/jensenh/archive/2008/03/12/the-story-of-the-ribb...

wim leers’s picture

Wow! I never expected Ctrl+B/Ctrl+I/Ctrl+U usage to be so low! Thanks for the link :)

wim leers’s picture

Issue tags: +sprint

Tagging for DrupalCon Munich code sprint.

wim leers’s picture

Version: 7.x-1.x-dev » 8.x-1.x-dev
Priority: Normal » Minor
Status: Active » Postponed
Issue tags: -sprint
wim leers’s picture

Issue tags: +post-feature freeze

.

wim leers’s picture

Version: 8.x-1.x-dev » 7.x-1.x-dev
Issue tags: +Spark

Another request for this feature: #1952706: Save fields with CMD+RETURN or CTRL+ENTER.

As I said there:

This must be implemented on a per-PropertyEditor widget basis. We can't really implement this for the CKEditor widget I think, but we can for the "form" and "direct" widgets.

Definitely a nice-to-have, so at the bottom of the things to do, unfortunately!

wim leers’s picture

Project: Edit » Quick Edit
Issue summary: View changes