Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126315 - focus/cursor not start in search keywords box
Summary: focus/cursor not start in search keywords box
Status: RESOLVED FIXED
Alias: None
Product: Websites
Classification: Unclassified
Component: Forums (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Forum Moderators
URL: http://forums.gentoo.org/search.php
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-15 08:39 UTC by Ed Davison
Modified: 2006-04-09 13:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Davison 2006-03-15 08:39:50 UTC
It would be good to have the search.php page start with the cursor in the search keywords box.  As it is now, the page loads and I have to click with my mouse in the search keywords box to start typing search terms.  If the page loaded and set the default start field to the search keywords box, I could type the url and when the page started I could just type my search terms and then hit enter to find them.

A reference on this is: http://www.w3.org/TR/html4/interact/forms.html#h-17.11.  Section 17.11.1 describes tabindex which could be used to set the initial tabindex position to the search keywords box and second to the search author box.
Comment 1 Tom Knight (RETIRED) gentoo-dev 2006-04-09 13:15:15 UTC
The problem with tbaindex is that it only controls the ording when using the Tab key, it can't actually set the initial focus of an element. So instead I've used some javascript to set the inital focus.