New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
apidoc: make the search box the first tab-able item #13170
Comments
Added Area-DartDoc, Triaged labels. |
Added old-dartdoc label. |
Added Pkg-DartDoc label. |
Removed Area-DartDoc label. |
Removed Pkg-DartDoc, Area-Pkg labels. |
This issue has been moved to Github as part of a migration. Please use the Issue on Github going forward: https://github.com/dart-lang/dartdoc-viewer/issues Added MovedToGithub label. |
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue was originally filed by googlegroups...@kaioa.com
Right now, if you press tab right after loading the page, the first link of the breadcrumb navigation will be focused.
However, it would be more useful if the search field would be the first one to receive the focus. Then you could just press tab, enter your search term, use the cursor key to navigate to the desired item, and press return.
Fortunately, this is very easy to do. Since the search field's form (
.header #search-box
) is already floated to the right, it only needs to be moved up a bit in the markup. If#search-box
is the first child of.header
, the text field inside it will be the first focusable item.The CSS doesn't need to be changed.
The text was updated successfully, but these errors were encountered: