really sorry - can't really be sure if it's a bug - value attribute on image type input

Hello all,

In order to have the form properly processed on the server side I need
to add the value property on my image type input field, like so:

<input type="image" src="Imagens/contactos_botaoenviar.png"
name="enviarRecomendacao" alt="enviar recomendação" value="enviar">

However, when I validate, I'm getting the following error message on
the validator:

Line 152, Column 151: Attribute value not allowed on element input at
this point.

…enviar.png" name="enviarRecomendacao" alt="enviar recomendação" value="enviar">

Element-specific attributes for element input:
    Global attributes
    accept
    alt
    autocomplete
    autofocus
    checked
    disabled
    form
    formaction
    formenctype
    formmethod
    formnovalidate
    formtarget
    height
    list
    max
    maxlength
    min
    multiple
    name
    pattern
    placeholder
    readonly
    required
    size
    src
    step
    type
    value
    width

So, from above, we can see that, actually, value IS a valid attribute
of input element, and should be allowed.
Could this be a bug?

Kind Regards and sorry for any inconvenience,
Márcio

Received on Friday, 14 May 2010 13:23:58 UTC