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

input-image-alt

Qué hace

Esta skill revisa los botones de imagen de una página en busca de una descripción de texto con sentido. Es para desarrolladores que construyen formularios y controles basados en imágenes.

Cuándo usarla

  • ✓Cuando un botón de búsqueda o de envío es una imagen sin texto alternativo.
  • ✓Cuando un lector de pantalla lee un nombre de archivo en lugar de la función del botón.
  • ✓Cuando revisas el marcado de un formulario para la accesibilidad.

Link de la skill

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/input-image-alt/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/input-image-alt/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

“¿Puedes comprobar que mis botones de imagen tengan un texto alternativo adecuado?”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente encuentra los elementos input de tipo imagen y comprueba que cada uno tenga un atributo alt no vacío. Sugiere un texto que describa la acción, como Buscar.

Contenido técnico (SKILL.md original)

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

Provide alt text for image buttons

Without alt text, screen readers may read the file name of the image, leaving users unable to determine the function of the button.

Quick Reference

  • Add an alt attribute to <input type='image'>
  • Describe the action of the button, not just the image
  • Ensures the button's purpose is clear to assistive technology

Check

Verify that all <input type='image'> elements have a non-empty 'alt' attribute.

Fix

Add an 'alt' attribute to the <input type='image'> that describes the action performed when the button is clicked (e.g., 'Search', 'Submit').

Explain

Explain why image buttons require alternative text to communicate their function to users who cannot see the image.

Code Review

Review the rendered markup and interactive states that affect Provide alt text for image buttons. Flag exact elements, roles, labels, focus behavior, or keyboard interactions that violate the rule, and note how to verify the fix with browser accessibility tooling or assistive tech.


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

Rule page: https://frontendchecklist.io/rules/accessibility/input-image-alt

Preguntas frecuentes

¿Por qué describir la acción y no la imagen?

La skill dice que el texto alternativo debe indicar al usuario lo que hace el botón al pulsarlo.

¿Qué pasa sin texto alternativo?

Los lectores de pantalla pueden leer el nombre del archivo de la imagen, que no explica la función del botón.

¿Cómo se puede confirmar la corrección?

La skill sugiere herramientas de accesibilidad del navegador o tecnologías de apoyo.

Detalles

Descripción original del autor

Use when reviewing rendered HTML, interactive components, or design-system patterns related to Provide alt text for image buttons. Check native semantics first, then inspect keyboard behavior, focus flow, accessible names, and screen-reader output where relevant.

repo: thedaviddias/Front-End-Checklist

Popularidad

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

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas