Saltar al contenido
Skillpedia
Sitios e interfaces (frontend)75 mil · #2718

alt-text

Qué hace

Esta skill comprueba que cada imagen de una página tenga un texto alternativo que describa su propósito. Es para equipos web que quieren que los usuarios de lector de pantalla y los buscadores entiendan las imágenes.

Cuándo usarla

  • ✓Cuando añades imágenes a una página web o a una plantilla.
  • ✓Cuando una imagen tiene como texto alternativo un nombre de archivo o no tiene ninguno.
  • ✓Cuando revisas una página en cuanto a accesibilidad básica.

Link de la skill

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/alt-text/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/alt-text/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Revisa todas las imágenes de mi página de inicio y escribe mejores textos alternativos donde falten o sean vagos.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

Tu agente analiza cada elemento de imagen, marca los valores alternativos que faltan o son genéricos y escribe descripciones basadas en lo que significa cada imagen en la página.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

Provide meaningful alt text for images

Approximately 2.2 billion people worldwide have vision impairment. Screen readers read the alt attribute aloud—without meaningful alt text, users who are blind receive no information about image content. Missing alt text also fails WCAG 2.1 Success Criterion 1.1.1, which is a Level A (minimum) requirement. Search engines also rely on alt text to index image content.

Quick Reference

  • Every <img> must have an alt attribute—omitting it entirely violates WCAG 2.1 SC 1.1.1
  • Decorative images use alt="" so screen readers ignore them
  • Alt text should describe the image's purpose, not just its appearance
  • Linked images: alt describes the link destination, not the visual

Check

Scan all <img> elements in the codebase. Verify: 1) Every <img> has an alt attribute (missing alt is an error). 2) Decorative images use alt="". 3) Informative images have descriptive text that conveys the image's meaning—not just its file name. 4) Images that are links describe the destination. 5) Images of text reproduce the text in alt. Flag any <img> without alt, with alt matching the filename (e.g., alt="photo1.jpg"), or with generic values like alt="image" or alt="photo".

Fix

For each image missing or with poor alt text: 1) Informative images—describe what the image conveys, not just what it shows (e.g., alt="Bar chart showing 40% increase in sales Q3 2024" not alt="chart"). 2) Decorative images—add alt="" so screen readers skip them. 3) Linked images—describe the link destination (e.g., alt="Visit our Twitter profile"). 4) Images of text—copy the text verbatim into alt. 5) Complex images (charts, infographics)—provide a short alt plus a longer description via aria-describedby or a visible caption.

Explain

Explain WCAG 2.1 Success Criterion 1.1.1 Non-text Content: every image must have a text alternative. Screen readers announce the alt attribute aloud—without it, users who are blind or have low vision cannot understand the page. Bad alt text (like alt="image") is no better than no alt text. Decorative images must use alt="" explicitly so screen readers skip them entirely—omitting alt causes some screen readers to announce the filename.

Code Review

Review image assets, markup, and delivery configuration related to Provide meaningful alt text for images. Flag exact files or components where format choice, sizing, or loading behavior violates the rule, and describe how to confirm the fix in DevTools.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/images/alt-text

Preguntas frecuentes

¿Las imágenes decorativas deben tener texto alternativo?

No. La skill indica que las imágenes decorativas deben usar un valor alt vacío para que los lectores de pantalla las omitan.

¿Por qué importa el texto alternativo para la búsqueda?

La skill indica que los buscadores también usan el texto alternativo para entender el contenido de las imágenes.

¿Qué tiene de malo un texto alternativo como photo1.jpg?

Nombra el archivo en lugar de lo que significa la imagen, así que no ayuda a los usuarios de lector de pantalla.

Detalles

Descripción original del autor

Use when reviewing image assets, markup, and CDN or build transforms related to Provide meaningful alt text for images. Check encoded size, rendered size, loading strategy, and above-the-fold impact together.

repo: thedaviddias/Front-End-Checklist

Popularidad

Estrellas en GitHub
75 mil
Posición en el ranking
#2718
Licencia
MIT
Actualizada
31/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas