Webcontent.gov - Your Guide to Managing U.S. Governement Websites

Home About Us Frequently Asked Questions     Topics A-Z  Contact Us   Jobs
Bookmark and Share


Tips for Spanish–language websites: How to Write Alt Attributes for Pictures

When using text to describe pictures on a website <alt attribute>, make sure that the descriptive text is in Spanish. This is not only a best practice, but also 508 compliant. A person on a Spanish-language website using a reader would need all alt attributes to be in Spanish to understand what the pictures depict; see examples below.

 

Not Recommended Best Practice
Picture A: alt attribute is in English Picture B: alt attribute is in Spanish
   
Anna Cooking Foto de mujer mirando libro de recetas mientras cocina

 

Page Updated or Reviewed: February 1, 2007

Privacy Policy About Us FAQ's Topics A-Z Contact Us Jobs
USA dot Gov: The U.S. Government's Official Web Portal