Re: Error checking attribute ALT

On Tue, 05 May 2009 20:37:44 +0200, MaX Milovanoff <m-x-m@mail.ru> wrote:
> Line 16, Column 65: Attribute alt not allowed on element input at this  
> point.
>
> …input type="text" name="field1" id="field1" alt="0">
>
> Element-specific attributes for element input:
>     ...
>     alt
>     ...

I believe this is a known bug. The problem is a combination of <input>  
being heavily overloaded and RelaxNG not being able to handle it nicely.  
You can only use the alt attribute on <input> if the type attribute  
specifies image.


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Wednesday, 6 May 2009 08:10:43 UTC