本文へスキップ
Skillpedia
WebサイトとUI(フロントエンド)75k · #2886

image-redundant-alt

できること

このスキルは、画像の代替テキストに、「image of」のような何も加えない言い回しや、近くの語句をそのまま写したテキストがないかを確認します。代替テキストを書く開発者や編集者向けです。

使う場面

  • ✓代替テキストが「image of」や「photo of」で始まるとき。
  • ✓代替テキストが、キャプションや画像のすぐ横の語句を繰り返しているとき。
  • ✓スクリーンリーダーが、同じ情報を二度読むとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/image-redundant-alt/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“画像の代替テキストが繰り返しにならないように、整理してもらえますか。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは alt の属性を、重複する語句や、近くのコンテンツと重複するテキストについて確認します。画像の意味に焦点を当てた、より短い文言を提案します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Avoid redundant image alternative text

Redundant alt text increases the verbosity for screen reader users without adding value, leading to a poorer user experience and slower navigation.

Quick Reference

  • Do not repeat 'image of' or 'picture of' in alt text
  • Avoid alt text that exactly matches adjacent text
  • Keep alt text concise and focused on the image's meaning

Check

Scan image alt attributes for redundant phrases like 'image of', 'photo of', or text that duplicates surrounding content.

Fix

Remove redundant phrases from the alt attribute and ensure the text provides unique, descriptive information.

Explain

Explain why screen readers already announce 'graphic' or 'image', making phrases like 'image of' unnecessary and repetitive.

Code Review

Review the rendered markup and interactive states that affect Avoid redundant image alternative text. 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/image-redundant-alt

よくある質問

「image of」のような語句がなぜ不要なのですか?

スクリーンリーダーは、その項目が画像であることをすでに伝えるため、繰り返すと騒がしくなるからです。

代替テキストは何に焦点を当てるべきですか?

画像に写っているものについて、固有で説明的な情報を与えるべきだとこのスキルは説明しています。

結果はどう確認しますか?

ブラウザのアクセシビリティツールや支援技術を使うことを提案しています。

詳細

作者による元の説明

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

repo: thedaviddias/Front-End-Checklist

人気

GitHubのスター
75k
ランキング
#2886
ライセンス
MIT
更新日
2026/10/31

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル