https://bugzilla.wikimedia.org/show_bug.cgi?id=1864


Brion Vibber <[EMAIL PROTECTED]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |
            Summary|Cursor should be placed in  |Option to focus cursor in
                   |the search box              |search box on main page




--- Comment #41 from Brion Vibber <[EMAIL PROTECTED]>  2008-12-08 22:22:03 UTC 
---
I'm going to go ahead and reopen this and adjust the summary a little bit so
it's easier to find. (WONTFIXes don't show up in a default search, so you have
to jump through hoops to find it before filing a dupe bug report.)

A couple things to consider...

First is that it may be useful for local wiki admins designing their local wiki
main pages to add a more prominent search box, which could in fact *be* focused
by default. This could be done with a slight addition to the inputbox extension
to add a focus trigger. It would be up to the local wiki communities to create
main page designs which make use of this, or not. 

The other is that in general we probably want to move the search box at some
point up nearer to the top on general principle; as a side affect this would
allow for setting a sensible tab index. (If it were forced now, it could make
things kind of icky by having the first tab put you into the search field, and
the next run you through a hojillion sidebar links before you get back to page
content. Bleah!)

(In reply to comment #38)
> Why don't we use some JS to trap alphanumeric keystrokes and automatically 
> give
> focus to the search form if those are hit, say?  That might be worth opening a
> new bug on, since this one is awfully cluttered.

I don't think I'd recommend that; at best it may not work reliably, and it will
interfere with for instance in-page type-ahead search in some browsers. More
generally it just violates general interface behavior conventions, in that the
box isn't actually highlighted yet, so lots of stuff wouldn't work in it, like
say pasting text, leading to confusing behavior and annoyed users.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to