Join GitHub today
Search bar takes tab focus #400
When I press tab, I expect to be able to navigation around the page with keyboard navigation. Instead, the search bar comes into focus when I press tab, regardless of how many times I try pressing tab again.
Is there a way to disable the JS capturing tab (and other keys) apart from not loading the entire JS file? This breaks keyboard accessibility for users on my site.
Use the tab key to navigate through interactive elements on a web page.
Search bar comes into focus.
Steps to reproduce the bug
Keyboard accessibility is a long standing thing I wanted to optimize, but I never had the time. If you come up with a good concept, I'm happy to integrate it. The problem is that the
Secondly, when there are search results, Tab is mapped to Key Down while Shift+ Tab is mapped to Key Up and it wraps at the end of the search results.
How would you handle that and what is the order in which you would expect it to go through the page?
I noticed the following:
Issue: The keyboard focus drops out of the search modal and continues in the site itself, without closing the modal.
Issue: There is no submit button (only a button type="reset"). I think the submit action is set on the three labels for different views? A label gets no keyboard focus and is not the semantically right element for submitting
Issue: There are 3 labels for="search" with no content and no associated id. Don't use a label other then in a form for describing a connected form field.