Disclaimer: this is in an alpha stage.
For a hands-on approach to this library, see the documentation site.
This library publishes uncompiled source code. It is expected for host applications to set up compilation processes. For example, there is a Webpack configuration used for the documentation site.
npm install
npm start
Visit the webpage listed in the output. The URL should have been copied to the clipboard. Otherwise, please inspect the console output.
The components available through this module are inspired from the WAI-ARIA Authoring Practices. Each component is driven by three principles:
- A component is accessible.
- A component can be used in composition (favoring web components interfaces).
- A component has a minimal footprint.
Code requirements will be evaluated through peer review. CI will run tests and linter rules -- see below for running the same scripts locally. CI will also deploy branches to Github pages -- see CI output for URL.
npm test
npm run lint
-
Install node modules:
docker-compose run npm install
-
Start
docker-compose up web
-
Test / Lint
docker-compose run npm test / run test:debug / run lint
For example:
docker-compose run npm test listbox