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

object-alt

できること

このスキルは、ページの各object要素に、役立つテキストや意味的な代替コンテンツが含まれているかを確認します。objectタグでファイルやメディアを埋め込む制作者向けです。

使う場面

  • ✓ページの埋め込まれたobject要素をアクセシビリティの観点から確認するようエージェントに頼むとき。
  • ✓埋め込まれたファイルが読み込めず、訪問者に読むものが何もないとき。
  • ✓object要素を使うコンポーネントを作り、アクセシブルにしたいとき。

スキルのリンク

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

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“私のページのobject要素を確認し、不足している場合は代替テキストを追加してください。”

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

仕組み

エージェントは各object要素を見つけ、説明となる代替コンテンツがあるか確かめます。objectを表示できない場合に同等の役割を果たす、単純なテキストや意味的な要素を追加します。

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

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

Provide alternative text for objects

If an object fails to load or the user's browser doesn't support the format, alternative text ensures that the information is still accessible.

Quick Reference

  • Include descriptive alternative text inside every <object> element
  • The fallback content should serve as a functional equivalent
  • Use simple text or other semantic elements as alternative content

Check

Check all <object> elements in the HTML to ensure they contain descriptive fallback content.

Fix

Add alternative text or a semantic fallback inside the <object> tags.

Explain

Explain how fallback content in <object> tags helps users who cannot load or view the primary object content.

Code Review

Review the rendered markup and interactive states that affect Provide alternative text for objects. 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/object-alt

よくある質問

代替テキストには何を書くべきですか?

このスキルによると、同じ情報を読者が得られるような機能的な同等物として働くべきです。

代替はリンクでもよいですか?

このスキルは、単純なテキストや他の意味的な要素を代替として挙げており、ファイルへのリンクを含められます。

なぜこれが役立つのですか?

ファイルを読み込めないか表示できないブラウザーの利用者も、情報を受け取れるからです。

詳細

作者による元の説明

Use when reviewing rendered HTML, interactive components, or design-system patterns related to Provide alternative text for objects. 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
ランキング
#2956
ライセンス
MIT
更新日
2026/10/31

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

0

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

コメント

  • …

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

似ているスキル