W3C home > Mailing lists > Public > www-validator-cvs@w3.org > June 2017

[Bug 30124] HTML tags are allowed in the alt attribute text of an image tag

From: <bugzilla@jessica.w3.org>
Date: Mon, 12 Jun 2017 22:50:56 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-30124-169-0d7LnycKYp@http.www.w3.org/Bugs/Public/>

Michael[tm] Smith <mike@w3.org> changed:

           What    |Removed                     |Added
         Resolution|---                         |WONTFIX
             Status|NEW                         |RESOLVED
                 CC|                            |mike@w3.org

--- Comment #1 from Michael[tm] Smith <mike@w3.org> ---
There’s no good way to prevent this. An author may intentionally put a "<"
character in an alt attribute for legitimate reasons; e.g., alt="Image showing
'2 < 5'" or even "<img>" or whatever other markup; e.g., alt="Image showing an
syntax-highlighted <img> element with the 'alt' attribute"

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Monday, 12 June 2017 22:51:03 UTC

This archive was generated by hypermail 2.3.1 : Monday, 12 June 2017 22:51:03 UTC