[Bug 16743] New: button with image and text generates error

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16743

           Summary: button with image and text generates error
           Product: Validator
           Version: HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: check
        AssignedTo: dave.null@w3.org
        ReportedBy: kurt@roeckx.be
         QAContact: www-validator-cvs@w3.org


Hi,

I have a
<button><img src=foo>text</button>

The validator gives me this error:
An img element must have an alt attribute, except under certain conditions. For
details, consult guidance on providing text alternatives for images.

I think the "text" part there make the meaning of the image in the button
clear, and shouldn't need an extra alt tag.


Kurt

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Sunday, 15 April 2012 16:48:55 UTC