npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

a11y-form-validator-lib

v1.1.0

Published

A11y Form Validator - WCAG 2.2 AA compliant form validation library for Webflow forms

Readme

A11y Form Validator

A WCAG 2.2 AA conformant form validation library designed specifically for Webflow forms. This library provides custom validation that overrides browser default HTML5 validation with accessible, user-friendly error messages.

🎯 Features

  • WCAG 2.2 AA Compliant - Meets accessibility standards
  • Custom Validation - Overrides browser default HTML5 validation
  • Field-Level Validation - Real-time validation with proper error handling
  • Accessible Error Messages - Screen reader friendly with ARIA attributes
  • Webflow Optimized - Designed specifically for Webflow form structures
  • Lightweight - Minimal dependencies, optimized for performance

📦 Installation

CDN (Recommended)

<!-- Site Authentication Key -->
<meta name="a11y-site-key" content="YOUR_SITE_KEY_HERE">

<!-- A11y Form Validator -->
<script defer src="https://cdn.a11yformvalidator.com/latest/standalone-validator-v2.js" crossorigin="anonymous"></script>

Note: Get your site key from the A11y Form Validator Extension or Dashboard.

🚀 Quick Start

Add to Site Settings (Recommended for Site-Wide Validation)

<!-- Step 1: Add your site authentication key -->
<meta name="a11y-site-key" content="YOUR_SITE_KEY_HERE">

<!-- Step 2: Load A11y Form Validator from CDN -->
<script 
    defer 
    src="https://cdn.a11yformvalidator.com/latest/standalone-validator-v2.js"
    crossorigin="anonymous">
</script>

Webflow Integration

  1. Install the A11y Form Validator Extension from the Webflow marketplace
  2. Click "Generate & Copy Validation Script" button in the extension
  3. Open Site Settings in Webflow Designer (gear icon in left sidebar)
  4. Navigate to the "Custom Code" tab
  5. Paste the script into the "Footer Code" section (applies to all pages)
  6. Save and publish your site
  7. The validator will automatically detect and validate all forms across your site

The extension automatically generates and includes your site key!

🔧 Supported Field Types

  • Email (type="email") - Email format validation
  • Phone (type="tel") - Phone number validation
  • URL (type="url") - URL format validation
  • Text (type="text") - Basic text validation
  • Textarea - Message/comment validation

🛡️ Security Features

  • Domain Validation - Only works on authorized domains
  • License Validation - Supports license key validation

📋 Validation Rules

Required Fields

  • Validates required fields and shows appropriate error messages
  • Supports both Text (name) and TextArea (message) fields
  • Supports both required attribute and aria-required="true"

Email Validation

  • Validates proper email format
  • Shows user-friendly error messages

Phone Validation

  • Supports various phone number formats
  • Validates minimum length and format

URL Validation

  • Validates proper URL format
  • Supports http/https protocols

🎨 Styling

The validator includes built-in accessible styling for error messages:

  • High contrast colors for visibility
  • Proper spacing and typography
  • ARIA attributes for screen readers

🔗 Dependencies

  • jQuery (>=3.0.0) - Required for enhanced features
  • jQuery Validation (>=1.19.0) - Required for validation methods

📄 License

MIT License - see LICENSE file for details.

🤝 Contributing

Contributions are welcome! Please read our contributing guidelines and submit pull requests to our GitHub repository.

📞 Support

🔄 Version History

  • v1.0.17 - Fixed CDN HTML5 validation issue, synchronized with direct inject version
  • v1.0.16 - Initial npm package release with standalone validator

Made with ❤️ for accessibility and Webflow