Re: Image controls and form submission

On Fri, 14 Sep 2007, Boris Zbarsky wrote:
> 
> Looking at Web Forms 2, the text covering submission of image controls 
> says:
> 
>   Image buttons, during this step, must be handled as if they were
>   two controls, one with the control's name with .x appended, whose
>   value is the x coordinate selected by the user, and the other with
>   the control's name with .y appended, whose value is the y coordinate
>   selected by the user.
> 
> This leaves the following questions open:
> 
> 1)  What if the user doesn't explicitly select any coordinates?  For
>     example, the user triggers the control by tabbing to the image
>     and hitting enter.

I've added a sentence saying that in case of ambiguities like this, the 
coordinate 0,0 is selected.


> 2)  What if the image has been replaced by inline alt text?

0,0 is selected (already defined in HTML5).

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Wednesday, 29 October 2008 07:57:34 UTC