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

paste-inputs

できること

このスキルは、入力欄への貼り付けを止めるスクリプトや属性がフォームにないかを確認します。使いやすく親切なフォームを求めるフロントエンドの開発者向けです。

使う場面

  • ✓貼り付けを妨げている入力欄がないか確認するようエージェントに頼むとき。
  • ✓利用者がサイトのパスワード欄やコード欄に貼り付けられないと訴えているとき。
  • ✓パスワードや支払いの詳細を扱うフォームを確認し、貼り付けが許されているか確かめたいとき。

スキルのリンク

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

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“私のサイトで、パスワード欄に貼り付けられないという声があります。何が妨げているのかを見つけて取り除いてください。”

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

仕組み

エージェントは、onpasteがfalseを返すような貼り付けイベントの処理や属性をコード内で探します。すべての入力欄で標準の貼り付けの動作が機能するように、それらの妨げを取り除きます。

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

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

Allow pasting into form inputs

Restricting pasting makes it difficult for users to use password managers or copy-paste long strings of data, which can lead to increased errors and a poor user experience.

Quick Reference

  • Do not block the 'paste' event on any form input
  • Ensure password fields and credit card inputs allow pasting from managers
  • Remove onpaste="return false" from all input elements

Check

Check the codebase for any JavaScript or HTML attributes that prevent users from pasting into form fields.

Fix

Remove any code (e.g., onpaste="return false") that blocks the default paste behavior in inputs.

Explain

Explain how allowing pasting into forms improves security and accessibility for users with physical or cognitive disabilities.

Code Review

Review the rendered markup and interactive states that affect Allow pasting into form inputs. 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/paste-inputs

よくある質問

貼り付けはなぜ許可すべきなのですか?

このスキルによると、貼り付けを止めるとパスワード管理ツールが使いにくくなり、長い文字列の入力でより多くのエラーが起きるからです。

障害のある人にも役立ちますか?

はい。このスキルは、貼り付けを許すと、身体や認知に障害のある利用者を助けると述べています。

貼り付けを止める安全上の理由はありますか?

このスキルは、パスワード管理ツールを使えるため、貼り付けを許すほうがセキュリティが高まると主張しています。

詳細

作者による元の説明

Use when reviewing rendered HTML, interactive components, or design-system patterns related to Allow pasting into form inputs. 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
ランキング
#2973
ライセンス
MIT
更新日
2026/10/31

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

0

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

コメント

  • …

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

似ているスキル