[patch] make form buttons react to enter as if they were clicked.

Luciano Montanaro mikelima at cirulla.net
Wed May 11 19:08:07 BST 2005


El Miércoles 11 Mayo 2005 19:59, Leo Savernik escribió:
> Am Mittwoch, 11. Mai 2005 18:57 schrieb Luciano Montanaro:
> > This one-line patch makes pressing enter on a form push button the same
> > as pressing space. This means that "onclick" works too.
>
> How does Mozilla behave in this regard? We should stay compatible.

Pressing enter on an highlighted pushbutton in mozilla acts as a click.
But checkboxes and radio buttons can be activated only with the space bar.

You can check the behaviour of both browsers with this page, for example.

http://www.december.com/html/demo/form.html

In mozilla, the Earth map is part of the tab-cycling too, in konqueror it's 
skipped.

Luciano

-- 
Luciano Montanaro       //
                    \\ //
                     \x/Un euro, un voto!




More information about the kfm-devel mailing list