@beapi/be-a11y v1.5.4
Be a11y
This repository contains a collection of useful accessible components such as tabs, accordion, modal dialog...
Installation
Start by installing the package.
pnpm add @beapi/be-a11y # or npm install @beapi/be-a11y --save or yarn add @beapi/be-a11y
Then, import in your JavaScript file the component you need.
import { Accordion } from '@beapi/be-a11y';
Accordion.init('#my-accordion', {
allowMultiple: true,
});
For more details about components, check the documentations:
Want to contribute?
Project works with Vite ⚡ and Playwright 🎭.
Development
pnpm # Install dependencies
pnpm dev # Start development server
Build
In examples
directory you can find sample of components. First of all you have to build the JS with the following command.
pnpm build
Then, you can launch a local server.
pnpm preview
Test your code
You can run UI tests with the following command.
pnpm test
27 days ago
1 month ago
3 months ago
4 months ago
5 months ago
7 months ago
8 months ago
10 months ago
5 months ago
10 months ago
10 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago