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

text-in-images

できること

このスキルは、単語を画像として表示しているウェブページを確認します。誰もが読めて翻訳できるコンテンツにしたいウェブチーム向けです。

使う場面

  • ✓バナーや画像に、実際の HTML テキストにできる文章が含まれているとき。
  • ✓代替テキストのない文字画像がページにあるとき。
  • ✓アクセシビリティの審査で、サイズ変更できない文字が指摘されたとき。

スキルのリンク

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

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“私のサイトのヘッダーは、文字が入った画像になっています。その文字は本物のテキストにすべきか確認してもらえますか。”

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

仕組み

エージェントは、文字を含む画像を探します。CSS でスタイルを付けた本物のテキストにすることを提案するか、画像を残す必要がある場合は代替テキストを追加します。

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

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

Avoid images of text

Text in images can't be resized by users with low vision, translated automatically, read by screen readers without alt text, or reflowed when zoomed—real text is always more accessible.

Quick Reference

  • Use real HTML text instead of text in images
  • Images of text can't be resized, translated, or read by screen readers
  • Logos and decorative typography are acceptable exceptions
  • Use CSS and web fonts for stylized text effects

Check

Identify images that contain text content. Verify the text could not be presented as real HTML text. Exceptions include logos, decorative typography, and cases where exact visual rendering is essential.

Fix

Replace text images with real HTML text styled with CSS. If images of text are necessary, provide equivalent text in alt attributes. Consider using SVG with embedded text for scalable typography.

Explain

Explain how images of text cannot be resized by users, are not readable by screen readers without alt text, cannot reflow on zoom, and create barriers for translation and text customization.

Code Review

Review the rendered markup and interactive states that affect Avoid images of 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/text-in-images

よくある質問

ロゴは例外ですか?

はい。このスキルは、ロゴや装飾的な文字は許容される例外だと説明しています。

画像を残す必要がある場合はどうしますか?

画像の alt 属性に、同等の意味を持つテキストを入れるべきだとこのスキルは説明しています。

文字の表現に SVG は使えますか?

はい。拡大縮小に対応する文字表現の選択肢として、テキストを埋め込んだ SVG を挙げています。

詳細

作者による元の説明

Use when reviewing rendered HTML, interactive components, or design-system patterns related to Avoid images of 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
ランキング
#3053
ライセンス
MIT
更新日
2026/10/31

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

0

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

コメント

  • …

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

似ているスキル