• While logged in and in read mode of a page it would be very handy to trigger the actions of the Admin Menu (or Quick Access Panel) by keyboard shortcuts:

    E → Edit Page
    P → New Page
    B → New Blogpost (“P” shortcut already taken for “Page”)
    C → Customizer
    D → Dashboard
    P → Plugins
    T → Themes

    For upselling to Pro users:
    F → Edit Page with Full Site Editor or your choice
    Or the “E” could be bound to that action, and you get “G” to access Gutenberg if in desire

    The shortcuts can easily be single letter shortcuts without a modifier key.
    Because on a normal web site while browsing you are in read mode and don’t use them too much.

    Except when you are actively in a form or search field, but then the shortcut library should be smart enough to intercept and ignore the shortcut during that situation.

    I proposed shortcuts in the Admin Menu in the WordPress Core issue tracker already, but Core Development takes its time. So BAB by its feature scope would be an ideal candidate to introduce this quickly and uncomplicated.

    The Gutenberg Block Editor uses the Mousetrap Javascript Library for handling shortcuts while its lifecycle. Possibly you can integrate Mousetrap or the Gutenberg variant/method of it without too much effort into BAB.

    And should keyboard handling in logged in read mode get part of Core one day, BAB can then still give up its own keyboard functionality and use default mechanisms.

    Behavior:
    – Shortcuts should work regardless whether Quick Access Panel or Admin Menu are visible or hidden
    – That way they can work both complimentary when visible (for advanced users) or as a keyboard only alternative (expert users).
    – Novice users can discover them in the menu (while hovering the shortcut letter is shown in a tooltip)

    What do you make of this idea?

  • The topic ‘Keyboard shortcuts to trigger actions in Better Admin Bar or Quick Access Panel’ is closed to new replies.