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

aria-meter-name

できること

このスキルは、meter要素とrole meterに分かりやすい名前があるかを確認します。バッテリー残量、ストレージ、パスワードの強度などの測定値を表示する開発者向けです。

使う場面

  • ✓ストレージ、バッテリー、パスワードの強度のメーターを表示するとき。
  • ✓値が読み上げられるのに、何を測っているかが分からないとき。
  • ✓グラフやゲージを、基本的なアクセシビリティの観点でレビューしているとき。

スキルのリンク

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

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“私のサインアップページのストレージとパスワードの強度のメーターに、アクセシブルなラベルを追加してください。”

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

仕組み

エージェントは、名前のないmeter要素を見つけ、その測定値が何であるかを示すaria-labelまたはaria-labelledbyを追加します。

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

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

Provide accessible names for meter elements

A meter represents a scalar measurement; without a label, a user might hear a value (e.g., '50%') but have no idea if it refers to battery life, storage space, or a password strength.

Quick Reference

  • The <meter> element or role="meter" must have an accessible label
  • Use aria-label or aria-labelledby to provide context
  • Helps users understand what measurement is being displayed

Check

Check for <meter> elements or elements with role="meter" that lack an accessible name.

Fix

Add an aria-label or aria-labelledby to the meter element to describe the measurement.

Explain

Explain why measurements need context through accessible names for screen reader users.

Code Review

Review the rendered markup and interactive states that affect Provide accessible names for meter elements. 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-meter-name

よくある質問

名前がないと、スクリーンリーダーは何を聞きますか?

50パーセントのような値だけを聞き、それが何を指すのか分からないおそれがあると、このスキルは説明しています。

メーターには表示されるラベルが必要ですか?

このスキルは、aria-labelやaria-labelledbyでコードに設定できるアクセシブルな名前に焦点を当てています。

どの要素に当てはまりますか?

meter要素と、role meterを持つすべての要素です。

詳細

作者による元の説明

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

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

0

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

コメント

  • …

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

似ているスキル