Web at UofL

Resources and information for those who create and maintain UofL websites

Adding Alt Text To Images

Providing alternative text for images and other visual elements on your site will enable blind users to understand your site.

  • Decorative Images: Use blank alt text attribute <img src=“filename.jpg” alt=“”>
  • Normal Images: Alt text can be up to 100 characters or you can link to an html file with more information
    • <img src=“filename.gif" alt="eraser end of pencil lying on standardized test form with bubbles filled in for answers A,B,C,D.“>
    • <img src="henrymall1.gif" alt="Pillars at Henry Mall" longdesc="mall_desc.htm">