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

file-upload-accessibility

できること

このスキルは、ウェブサイトのファイルのアップロードの欄とドロップゾーンを確認します。誰もがファイルをアップロードできるようにしたい開発者向けです。

使う場面

  • ✓ファイルのアップロードボタンに、分かりやすいラベルがないとき。
  • ✓ドラッグアンドドロップのアップロード領域が、キーボードでは使えないとき。
  • ✓利用者に、許可されたファイルの種類やサイズが分からないとき。

スキルのリンク

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/file-upload-accessibility/SKILL.md

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“サイトのファイルのアップロードフォームを、アクセシブルにしてもらえますか。”

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

仕組み

エージェントは、アップロードのラベル、受け付けるファイルの種類、フィードバックのメッセージを確認します。ドラッグアンドドロップの代わりとして、キーボードで使える方法と、進捗やエラーを伝えるライブの通知を提案します。

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

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

Make file uploads accessible

Unlabeled file inputs and inaccessible drag zones exclude screen reader and keyboard users from completing file upload tasks.

Quick Reference

  • Always associate labels with file inputs
  • Clearly communicate accepted file types and size limits
  • Provide accessible progress feedback during uploads
  • Make drag-and-drop zones keyboard accessible

Check

Verify file inputs have proper labels, accept attributes for file types, and accessible feedback for upload progress and errors.

Fix

Implement file uploads with visible labels, accept attribute restrictions, drag-and-drop alternatives, and ARIA live region feedback.

Explain

Explain how accessible file uploads provide clear instructions, feedback, and work for users relying on assistive technologies.

Code Review

Review templates, server-rendered HTML, and shared components that output markup related to Make file uploads accessible. Flag exact elements, attributes, and routes where the rendered HTML violates the rule.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/html/file-upload-accessibility

よくある質問

アップロードのラベルはなぜ重要ですか?

ラベルがないと、スクリーンリーダーの利用者はその欄が何のためか分からないからです。

accept 属性は何をしますか?

利用者が選べるファイルの種類を制限します。このスキルは、要件を明確にするために設定を勧めています。

アップロードの更新はどのように伝えられますか?

スクリーンリーダーが進捗やエラーのメッセージを読み上げられるよう、このスキルは ARIA のライブリージョンを提案しています。

詳細

作者による元の説明

Use when reviewing templates, rendered HTML, or shared components related to Make file uploads accessible. Validate the final browser-facing markup, not just the source framework abstraction.

repo: thedaviddias/Front-End-Checklist

人気

GitHubのスター
75k
ランキング
#2844
ライセンス
MIT
更新日
2026/10/31

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

0

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

コメント

  • …

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

似ているスキル