Move focus to selected element when closing "Find in page"

(Helena Standaert) #1

:bulb: SUMMARY
Your need in one sentence

As a user I want to be able to navigate through pages with my keyboard so that I don’t have to switch between keyboard and mouse all the time.

Tell us about the current experience

When working, I like to be able to use my keyboard as much as possible since I find it to be quicker than having to move my hand to the mouse/trackpad to click that link.

(or open a dropdown, tab to the next input element or whatever else you can do with a keyboard)

:writing_hand: PROVIDE DETAILS
Tell us what you are looking to change

Since you can’t add shortcuts for EVERYTHING (especially since Station doesn’t have control over the content that is displayed), I’d like request some new functionality for the “Find in page” bar.

Station is already “focussing” on a text element when searching the page (= the one highlighted in darker orange), but there’s no actual focus in the DOM. So when the focus in the “Find in Page” bar is lost (in other words: the bar closes), it would be nice if the focus is moved to the last selected element (= the one highlighted in darker orange)

How would it change your experience

The main advantages for me are:

  • Quicker navigation
  • No need to use a mouse in 90% of the cases