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

@thefrontkit/a11y-starter-kit

v0.1.0

Published

A free, accessible Next.js starter kit with WCAG-compliant UI components, dark mode, and best practices for building inclusive web applications.

Downloads

121

Readme

A11y Starter Kit

A free, production-ready accessibility starter kit by thefrontkit. Build WCAG 2.1 AA compliant interfaces from day one with Next.js 16, Tailwind CSS 4, and shadcn/ui.

Why This Kit?

Most starter kits treat accessibility as an afterthought. This one bakes it in from the start. Every component, page, and interaction has been built with keyboard users, screen readers, and assistive technologies in mind.

Tech Stack

  • Next.js 16 (App Router)
  • React 19
  • Tailwind CSS 4
  • shadcn/ui components
  • TypeScript
  • React Hook Form + Zod validation
  • TanStack Table for data tables

Demo Pages

| Page | What It Demonstrates | |------|---------------------| | Login | Accessible forms, error announcements, focus management, password visibility toggles | | Dashboard | Skip links, ARIA landmarks, keyboard sidebar navigation, breadcrumbs | | Data Table | Sortable headers with aria-sort, screen reader announcements, pagination | | Settings | Fieldset/legend grouping, toggle switches, radio groups, save confirmations | | Notifications | Focus trapping, escape key handling, toast notifications, reduced motion support |

Accessibility Features

  • Keyboard Navigation - Full keyboard support with skip links, focus trapping, and arrow key navigation
  • Screen Reader Support - ARIA landmarks, live regions, and semantic HTML throughout
  • Reduced Motion - Respects prefers-reduced-motion for users with motion sensitivities
  • Touch Accessible - Minimum 44px touch targets and proper spacing
  • Dark Mode - System-aware theme switching with proper contrast ratios
  • Focus Management - Visible focus indicators and logical focus order on every page

Custom Hooks

| Hook | Purpose | |------|---------| | useAnnounce | Screen reader announcements via ARIA live regions | | useFocusTrap | Trap focus within modals and dialogs | | useKeyboardNavigation | Arrow key navigation for menus and lists | | useReducedMotion | Detect and respect reduced motion preferences |

Components

A11y Utilities

  • LiveRegion - Dynamic screen reader announcements
  • VisuallyHidden - Content visible only to assistive technology

Layout

  • SkipLink - Jump to main content for keyboard users
  • Header, Footer, Sidebar, Breadcrumbs
  • MobileNav - Accessible mobile navigation
  • ThemeToggle - Dark/light mode switcher

Getting Started

# Install dependencies
npm install

# Start development server
npm run dev

Open http://localhost:3000 to explore the demos.

Project Structure

app/
  login/          # Accessible login & signup forms
  dashboard/      # Dashboard with landmarks & navigation
  data-table/     # Sortable, screen-reader-friendly table
  settings/       # Form controls & grouped settings
  notifications/  # Modals, toasts & focus trapping

components/
  a11y/           # Accessibility utility components
  forms/          # Form components with validation
  layout/         # Page layout components
  ui/             # shadcn/ui base components
  dashboard/      # Dashboard-specific components
  data-table/     # Table-specific components
  notifications/  # Notification & dialog components

hooks/            # Custom accessibility hooks

License

Free to use for personal and commercial projects. Built and maintained by thefrontkit.