Skip Menu |

This queue is for tickets about the Template-Toolkit CPAN distribution.

Report information
The Basics
Id: 5004
Status: resolved
Priority: 0/
Queue: Template-Toolkit

People
Owner: Nobody in particular
Requestors: slaven [...] rezic.de
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.12
Fixed in: (no value)



Subject: Image-Plugin and alt-Attribute
The documentation of Template::Plugin::Image states that the tag method creates a complete XHTML tag. This is not true, according to http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd the "alt" attribute is required for the "img" tag. So I propose to always create an empty alt attribute with the tag method. Specifying alt as an argument would override this default. Another possibility is to document the missing "alt" attribute in the Pod. Regards, Slaven