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

aria-valid-attr

できること

このスキルは、ページ上のすべてのaria属性の名前が、実在する標準のものであるかを確認します。アクセシブルなマークアップを手で書く開発者向けです。

使う場面

  • ✓HTMLやテンプレートにaria属性を書いているとき。
  • ✓追加した属性をスクリーンリーダーが無視しているとき。
  • ✓他の人が書いたコードを、ARIAの誤りについてレビューしているとき。

スキルのリンク

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/aria-valid-attr/SKILL.md

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“私のサイトのナビゲーションのマークアップで、綴りを誤ったaria属性を見つけて修正してください。”

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

仕組み

エージェントは各要素で使われているaria属性を一覧にし、綴りを誤っていたり、WAI-ARIA仕様で定義されていないものを置き換えます。

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

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

Ensure ARIA attributes are valid

Invalid ARIA attributes are ignored by browsers and screen readers, potentially leaving users with disabilities unable to navigate or understand the interface.

Quick Reference

  • Use only valid, standard-defined ARIA attributes
  • Avoid misspelled or non-existent aria-* properties
  • Ensure screen readers correctly interpret element roles and states

Check

Identify any invalid or misspelled ARIA attributes on HTML elements.

Fix

Replace invalid ARIA attributes with their correct names as defined in the WAI-ARIA specification.

Explain

Explain how valid ARIA attributes enable assistive technologies to communicate element state and behavior to users.

Code Review

Review the rendered markup and interactive states that affect Ensure ARIA attributes are valid. 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/aria-valid-attr

よくある質問

無効なARIA属性はどうなりますか?

ブラウザとスクリーンリーダーが無視するため、意図した支援が利用者に届かないと、このスキルは説明しています。

正しい名前は、どこから得ていますか?

このスキルは、参照元としてWAI-ARIA仕様を使っています。

値も確認しますか?

いいえ。値は別の確認で扱われます。

詳細

作者による元の説明

Use when reviewing rendered HTML, interactive components, or design-system patterns related to Ensure ARIA attributes are valid. 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
ランキング
#2743
ライセンス
MIT
更新日
2026/10/31

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

0

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

コメント

  • …

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

似ているスキル