webstatus.dev
webstatus.dev copied to clipboard
Typing / should focus the search field
This is quite common in pages with a search field (Google Search, GMail, etc.): when the search field isn't focused, hitting the '/' key brings it into focus without having to use Tab and keep going through the tabindex elements.
One thing to add to the definition of done
There should be a test that:
- asserts that the search bar is present but not focused
- Press the
/button - asserts that the search bar is present and focused