You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
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.
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
The text was updated successfully, but these errors were encountered: