A library of accessible web components and patterns.
- Background
- Environments
- Installation
- Development Process
- Deployment
- Project Structure
- Third-Party Dependencies
- Related Efforts
- Maintainers
- License
The Accessible Pattern Library is a component-based collection of patterns and documentation that is meant to serve as a guide to developers when building interactive components. The library uses Storybook, and is hosted on GitHub Pages.
First clone this repository and install dependencies.
$ nvm use
$ npm ci
To view Storybook locally, run npm run storybook
.
All changes are based off main
and committed to feature branches according to our branch naming conventions. Pull requests require a peer code review before being merged into main
.
To contribute to this project, see CONTRIBUTING.md.
Once a PR is merged into main
, GitHub Actions will kick off a deployment to GitHub Pages. Changes will be visible after deployment completes successfully.
- All patterns are based on components in the
src/components
directory. Each component should contain:- The main
Component.jsx
file - A
component.scss
stylesheet to style the component (if necessary) - A
component.stories.mdx
file that creates and documents the pattern in Storybook
- The main
- Storybook configuration files are in the
.storybook
directory.
Here, provide and link third-party dependencies outside those covered in the Environments or Deployment sections above. These might include links to a third-party SSO provider, an external API, a payment vendor, or a hosted Elasticsearch instance, for example. For every integration dependency, include an overview of the purpose and instructions to manage or learn more about the integration. This is fine to summarize or link internally (eg. to a GitHub wiki).
If your project requires, depends, extends, or competes with alternate projects worth noting (eg. a child theme or shared plugin from another repo), link them here or exclude this section.
- Alley Interactive #accessibility
GNU General Public License v2.0