Spacer image should have a blank alt attribute to meet w3c accessability 
standards
----------------------------------------------------------------------------------

                 Key: TAP5-614
                 URL: https://issues.apache.org/jira/browse/TAP5-614
             Project: Tapestry 5
          Issue Type: Improvement
          Components: tapestry-core
    Affects Versions: 5.0.18, 5.0.17, 5.0.16, 5.0.15, 5.1.0.2, 5.1.0.1, 5.1.0.0
            Reporter: Andy Blower
            Priority: Minor


Our User Experience Design team have raised an issue with the use of the 
tapestry.spacer-image in the Autocomplete mixin. It's also used by the default 
client side validation. The issue is that the spacer img tag is rendered with 
no alt attribute which is apparently a problem for these reasons:

1) Always add alt attributes to images. Alt is mandatory for accessibility and 
for valid (X)HTML.
2) For images that play only a decorative role in the page, use an empty alt 
(i.e. alt="") or a CSS background image so that reading browsers do not bother 
users by uttering things like "spacer image".

So, Tapestry needs to write a blank alt attribute when it uses a spacer gif.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to