ArtisanPack UI
DocsAccessibilityGuides

Guides

Accessibility v2.3.0

This section contains comprehensive guides to help you get started with and effectively use the ArtisanPack UI Accessibility package. Learn how to install...

This section contains comprehensive guides to help you get started with and effectively use the ArtisanPack UI Accessibility package.

Available Guides

Getting Started

Learn how to install and set up the ArtisanPack UI Accessibility package in your project. This guide covers:

  • System requirements
  • Installation via Composer
  • Laravel integration (service provider and facade setup)
  • Basic usage examples

Usage Guide

Detailed examples and practical implementations of the package's features. This comprehensive guide covers:

  • Color contrast utilities
  • Accessible color generation
  • User accessibility settings
  • Practical examples for real-world scenarios
  • Advanced usage patterns

Hooks

Filter hooks (introduced in 2.3.0) that let applications customize the color-contrast pipeline without patching the package:

  • ap.accessibility.contrastThreshold — override the WCAG threshold globally
  • ap.accessibility.contrastColorMap — extend or replace the Tailwind color map
  • ap.accessibility.textColorGenerated — final say on generated text colors

AI Features

AI-powered accessibility tooling introduced in 2.2.0, built on top of artisanpack-ui/ai v1.0:

  • Content-level accessibility analysis (ContentAccessibilityAgent)
  • ARIA attribute suggestion (AriaSuggestionAgent)
  • Contrast-failure explanation (ColorContrastExplanationAgent)
  • In-package Livewire, React, and Vue trigger surfaces
  • JSON endpoints and Sanctum SPA setup

Getting Help

If you need additional help beyond what's covered in these guides, please refer to:

  • API Reference for detailed method documentation
  • AI Guidelines for AI-assisted development best practices
  • Home for a complete overview of the package

Stay in the Loop

Monthly tips, tutorials and package updates — plus a free Quick Start cheat sheet.

Subscribe
Edit this page on GitHub