Make WordPress Core

Opened 9 years ago

Last modified 18 months ago

#33566 reopened enhancement

Keyboard shortcuts for all functionality of Dashboard + Admin Menu while in read mode

Reported by: tady's profile tady Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 4.3
Component: Administration Keywords:
Focuses: ui, accessibility Cc:

Description

I'm constantly hitting cmd+s (or meta+s) in the appearance file editor. I'm also constantly looking for a short cut to preview or publish a post. Aside from the accessibility assistance, I think an addition like this would make WordPress very "Power User" friendly. I know the meta+s command works in the post/page editor but the interaction is so subtle, I'd to do it a few times before I saw the "Draft saved..." comment at the bottom. I had a notion that something like meta-key + down arrow might overlay a set of keyboard instructions. Things like "cmd/ctrl + s = Save Draft, cmd/ctrl + shift + L = Preview Post, cmd/ctrl + p = Publish Post/Page" etc. Obviously, this needs work.

Is this something in the pipeline? If not is this something I can propose?

Change History (13)

#1 @atomicjack
9 years ago

  • Focuses performance removed
  • Type changed from feature request to enhancement

Already a feature, just you're wanting it extended. :)

#2 @tady
9 years ago

Yes, I suppose it is! Thanks! :D

#3 @iandunn
8 years ago

  • Component changed from General to Administration

Hotkeys are becoming more commonplace in rich web applications, and I think users could benefit a lot from more support in Core.

If new hotkeys are added, it'd be very useful to have a ? hotkey, which could bring up a dialog showing a reference table of all other hotkeys (both global, and for the current screen), so users don't have to memorize them. It could potentially show hotkeys registered by plugins, too (maybe even automatically via jQuery.hotkeys, instead of a manual registration step).

I think they should all be enabled by default (related #21414), because that'd be more convenient for people who want to use them, but generally wouldn't interfere with those who don't.

#4 @iandunn
8 years ago

I also think that hotkeys for navigating through screens could be very useful, since it's fundamental to everything, but tedious and slow with a mouse and a long list of menu/content items, particularly when you have to visit an intermediary screen (e.g., All Posts) in order to bring up the desired screen (e.g., a specific post).

An intent-driven keyboard interface (like Spotlight in OS X, or the HUD in Ubuntu) that searches an index of menu items and content could allow users to skip intermediary screens entirely, and also make it quicker and easier to find what they're looking for.

There are several plugins in this space [1, 2, 3, etc], but I think it's worth considering whether it makes sense to have some support for it in Core.

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


8 years ago

#6 @afercia
8 years ago

  • Focuses accessibility removed
  • Milestone changed from Awaiting Review to Future Release

Discussed today in the accessibility weekly meeting and as long as shortcuts are on a per-user basis and off by default, there are no objections :) For some background, see #21414.

This ticket was mentioned in Slack in #core-editor by afercia. View the logs.


8 years ago

#9 @iandunn
5 years ago

  • Status changed from new to reopened

Reopening because I think this is still worth considering.

#10 @SergeyBiryukov
5 years ago

  • Milestone set to Future Release

#11 @afercia
5 years ago

  • Focuses accessibility added

#13 @iandunn
2 years ago

Chrome DevTools also has one, accessed with cmd shift p.

#14 @abitofmind
18 months ago

  • Summary changed from Keyboard shortcuts for all functionality on the dashboard to Keyboard shortcuts for all functionality of Dashboard + Admin Menu while in read mode

👆 Extended scope of the original issue title and reflected this in the new title.

I think the time is ripe to consider implementing this!

  • The Gutenberg Block Editor now has centralized and very extensive keyboard-shortcuts using Mousetrap.
  • Real efficiency and UX improvement for Pro users! And meanwhile standard in mainstream web apps!

I hope it is ok that I used an existing issue for this

  • I think it makes little sense to create the "Admin Menu" aspect of shortcuts as a separate issue.
  • This is a wholistic matter: Shortcuts outside of the Gutenberg Block Editor lifecycle.
  • In addition to the scope of the Dashboard also while viewing a page/post in read mode and being logged in, it would be great to quickly trigger the commands available in the admin menu (also when the menu's position/visibility/style is altered by a plugin such as Better Admin Bar)

From the reading context directly to the intended creative/editorial/administrative action

  • Edit Page (e.g. E or ⌘ E) -- Most important one -- Always catch myself doing this (habit from Confluence)
  • Create New Post -- Also quite frequently: Reading existing content gives idea for new/missing post/page.
  • Create New Page -- Maybe as a distinct command, or a general "Create New" command which opens an intermediary popup for choosing the content type (again keyboard accessible).
  • Open Dashboard
  • Open Comments
  • etc
Last edited 18 months ago by abitofmind (previous) (diff)
Note: See TracTickets for help on using tickets.