Jump to content

Using Select note in the Insert Link modal breaks keyboard navigation

Recommended Posts

Steps to reproduce:

  1. Open a note and press Ctrl + K to insert a new link.
  2. The Insert Link modal opens:
  3. Press Tab twice to move focus from Text to Select note.
  4. Press Spacebar to open the Select note modal:
  5. Press Tab 1 + N times (where N is the number of notebooks listed) to navigate to the Cancel button.
  6. Press Spacebar to select the Cancel button and close the Select note modal.

Observed behavior:

Focus returns to the note itself, and the Insert Link modal remains open until Backspace is pressed or the mouse is used to select Text or Link. Note that because of this, users on keyboard-only setups can never add internal links through this workflow.

Expected behavior:

Focus returns to the Insert Link modal which can continue to be navigated with the keyboard.

  • Like 1
Link to comment

This loss of keyboard focus happens to me too with Ctrl-K.

Because I generally want the link text to be the same as the note title, I generally use the "Add note link" (Ctrl-Alt-K) vs "Add / edit link" (Ctrl-K) to link to a note the first time. Interestingly, the Ctrl-Alt-K doesn't have the same problem.

This same loss of keyboard/focus happens on the Mac too.


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...