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がスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
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.
人気
- GitHubのスター
- 75k
- ランキング
- #3053
- ライセンス
- MIT
- 更新日
- 2026/10/31
コメント
- …
このリポジトリの他のスキル
frontendchecklist
75kコマンドラインツールを使って、フロントエンドのコードとライブページを、アクセシビリティ、速度、SEO、セキュリティに関する380以上のルールと照らし合わせて確認します。
frontend-checklist-global
75kフロントエンドのプロジェクトを、386のFront-End Checklistのルールすべてと照らし合わせて監査し、見つかった問題ごとに具体的な修正方法を示します。
404-page
75k見つからないページの画面に役立つリンクがあり、本物の404ステータスを返すかを確認し、迷った訪問者が目的のページを見つけられるようにします。
about-page
75kサイトの運営者が誰かを説明する、分かりやすいAboutページがあるかを確認し、訪問者と検索エンジンからの信頼を高めます。
似ているスキル
angular-developer
280kエージェントがAngularのコードを作成し、プロジェクト構成についてアドバイスできるようにします。新しいプロジェクトの開始、コード部品の作成、パフォーマンスやアクセシビリティの改善に役立ちます。
frontend-a11y
280kエージェントが Web インターフェースを誰にとっても使いやすくするよう支援します。スクリーンリーダーやキーボード操作に対応し、サイトやアプリが適切に動作するようにします。
frontend-patterns
280kエージェントがフロントエンド開発の最新パターンを適用できるようにします。React と Next.js において、パフォーマンスの最適化、状態管理、ベストプラクティスの遵守を行います。