Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-614

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.1.0.0, 5.1.0.1, 5.1.0.2, 5.0.15, 5.0.16, 5.0.17, 5.0.18
    • 5.1.0.3
    • tapestry-core
    • None

    Description

      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.

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            andyb Andy Blower
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: