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