View Full Version : Inconsistent select behavior

10-03-2004, 01:24 AM
Keyboard navigation of a select dropdown behaves differently than the mouse.

What is normal:

tab to a select element, press the up or down arrow keys, and the selection changes

What is abnormal:

tab to a select element, pres 'alt + down arrow', press the up or down arrow keys and the selection changes

What should happen:

the selection should not be changed until the enter key is pressed, just as it is not changed until the mouse is clicked.

Why? Because you can't change your mind with the keyboard behaving that way... you have to remember what the last selection was, and key back to it--if you want to cancel your action.

No browser gets it right, from what I've seen.

What do you think?

10-03-2004, 01:48 AM
Actually, Opera gets it right... how about that! Too bad the others are lame. :rolleyes:

10-03-2004, 04:07 AM
If it's that big of a problem, use <select size="5"> or something to that effect.

10-03-2004, 04:34 AM
Not necessarily a big problem, but I can't imagine what purpose it serves.

If someone can think of a good reason why a control would be designed that way, I'd like to know.