Pular para o conteúdo
Skillpedia
Sites e telas (frontend)75 mil · #2893

input-image-alt

O que ela faz

Esta skill verifica os botões de imagem de uma página em busca de uma descrição em texto com significado. É para desenvolvedores que criam formulários e controles baseados em imagens.

Quando usar

  • ✓Quando um botão de pesquisa ou de envio é uma imagem sem texto alternativo.
  • ✓Quando um leitor de tela lê o nome de um arquivo em vez da finalidade do botão.
  • ✓Quando você revisa a marcação de formulários quanto à acessibilidade.

Link da skill

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

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/input-image-alt/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Você pode verificar se meus botões de imagem têm texto alternativo adequado?”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente encontra os elementos de input do tipo imagem e verifica se cada um tem um atributo alt não vazio. Ele sugere um texto que descreva a ação, como Pesquisar.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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

Perguntas frequentes

Por que descrever a ação em vez da imagem?

A skill diz que o texto alternativo deve informar ao usuário o que o botão faz ao ser clicado.

O que acontece sem texto alternativo?

Leitores de tela podem ler o nome do arquivo da imagem, que não explica a função do botão.

Como a correção pode ser confirmada?

A skill sugere ferramentas de acessibilidade do navegador ou tecnologias assistivas.

Detalhes

Descrição original do 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

Popularidade

Estrelas no GitHub
75 mil
Posição no ranking
#2893
Licença
MIT
Atualizada em
31/10/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas