Enhancement Request: User Menu UI Shortcuts for Notifications

AI-generated summary

In the UX category, JMichaelTX submitted an enhancement request to improve keyboard navigation within the Discourse User Menu (Profile Menu) for viewing notifications. The user currently relies on this menu to track changes in subscribed topics but finds existing navigation methods insufficient. Specifically, they noted that TAB and SHIFT-TAB are unreliable for menu navigation and argued that standard arrow keys (UpArrow, DwnArrow) should be implemented to move selection, with RETURN to display the selected item. The requester also suggested changing the toggle shortcut from “p” to “u” or “m,” though acknowledged “u” is currently mapped to “back.” codinghorror responded by suggesting that the focus could be set more effectively after pressing p. Expanding on the workflow, JMichaelTX proposed an additional feature: when the menu is opened via p, the focus should automatically jump to the first unread notification, allowing the user to immediately press RETURN to view the post. The core goal is to ensure that when the menu is open, keyboard focus remains on the menu list rather than the broader web page, streamlining the notification review process.

###Enhancement Request: User Menu UI Shortcuts for Notifications

My main workflow with Discourse forums is to display the User Menu (aka Profile Menu?) to see changes (notifications) to my subscribed topics.

####Please enhance the UI to make it easy to use keyboard shortcuts to view, select, and display each item on this menu. My preference would be these:

  • “p” – display/hide the User Menu (this already exists)
    • Actually I’d prefer “u” (for User) or “m” for member, but I see “u” is already used for “back” (I don’t get the connection between “u” and “back”).
  • “UpArrow” and “DwnArrow” – move the selection up and down the menu
  • “RETURN” – display the selected item/post

I have read that “TAB” and “SHIFT-TAB” are provided for navigation of the menu, but I have two issues with that:

  1. It is not reliable. Sometimes TAB moves the focus in the web page, sometimes in the menu, even while the menu is shown.
  2. IMO, most users would expect the arrow keys to work for navigation here, like in all menus. Although technically it may not be a “standard” popup menu, to the user it appears as if it is a popup/dropdown menu/list.
  3. When the User Menu is displayed, I think it is reasonable that the user would expect the primary navigation to be focused on the menu/list, not the web page.
  • So if the user wants to navigate the web page, a simple “p” will close the User Menu

Many thanks for your kind consideration of this request.

One thing we could do is set focus a bit better after p is pressed.

3 Likes

Another navigation aid that would be really helpful, is that when the user types “p” to show the “user menu”, it automatically sets the focus to the first item (notification) which has NOT been viewed.

Then a simple RETURN would display the post.

2 Likes