Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

apidoc: make the search box the first tab-able item #43

Closed
DartBot opened this issue Sep 29, 2014 · 6 comments
Closed

apidoc: make the search box the first tab-able item #43

DartBot opened this issue Sep 29, 2014 · 6 comments

Comments

@DartBot
Copy link

DartBot commented Sep 29, 2014

From [email protected] on September 08, 2013 19:00:46

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.

Original issue: http://code.google.com/p/dart/issues/detail?id=13170

@DartBot
Copy link
Author

DartBot commented Sep 29, 2014

From @madsager on September 09, 2013 08:40:50

Status: Triaged
Labels: Area-DartDoc

@DartBot
Copy link
Author

DartBot commented Sep 29, 2014

From @anders-sandholm on February 07, 2014 00:05:03

Labels: old-dartdoc

@DartBot
Copy link
Author

DartBot commented Sep 29, 2014

From @kevmoo on March 16, 2014 22:27:30

Labels: Pkg-DartDoc

@DartBot
Copy link
Author

DartBot commented Sep 29, 2014

From @kevmoo on March 16, 2014 22:28:56

Labels: -Area-DartDoc Area-Pkg

@DartBot
Copy link
Author

DartBot commented Sep 29, 2014

From @kevmoo on April 07, 2014 13:06:13

Labels: -Pkg-DartDoc -Area-Pkg Area-DartDocViewer

@sethladd
Copy link
Contributor

Thanks for the suggestion! Future work is happening here: https://github.com/dart-lang/dartdoc

See also dart-lang/dartdoc#7

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

3 participants