Allow pasting into form inputs

SkillMedia

paste-inputs is an agent skill for accessibility review of form inputs related to allow pasting into form inputs. It guides an agent to check native semantics first, then inspect keyboard behavior, focus flow, accessible names, and screen-reader output, and to flag code that blocks pasting.

Available today. Use it from your connected AI after setup.

Have an agent that can load skills and access the codebase or rendered HTML to review.

Then ask your AI: use the Allow pasting into form inputs skill

What your AI can do with it

  • Detects JavaScript or HTML attributes that block pasting into form fields
  • Flags onpaste="return false" and similar code that prevents default paste behavior
  • Checks that password and credit card inputs allow pasting from password managers
  • Reviews rendered markup, roles, labels, and focus behavior against the rule
  • Explains how allowing pasting improves security and accessibility for users with disabilit
  • Suggests verification with browser accessibility tooling or assistive tech

Getting started

  1. Have an agent that can load skills and access the codebase or rendered HTML to review.
  2. Add the paste-inputs skill to the agent's available skills.
  3. Ask the agent to review form inputs for code that blocks pasting, such as onpaste="return false".
  4. Remove the flagged blocking code so inputs accept the default paste behavior.
  5. Verify the fix with browser accessibility tooling or assistive technology.

What this skill tells your AI

The instructions your AI receives, as published by thedaviddias/front-end-checklist in skills/paste-inputs/SKILL.md and read by ahel’s review.

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/en/rules/accessibility/paste-inputs

Signals

GitHub stars
74k
Forks
7k
Last commit
Aug 2026

Questions

Why should pasting be allowed in form inputs?
Restricting pasting makes it hard to use password managers or paste long strings of data, which leads to more errors and a poor experience. Allowing it also helps users with physical or cognitive disabilities.
What code typically blocks pasting?
Attributes or JavaScript such as onpaste="return false" on input elements. The skill's fix is to remove any code that blocks the default paste behavior in inputs.
Advanced
Item type
skill
Key
paste-inputs
Source
github.com/thedaviddias/front-end-checklist