Component Library for Svelte v3, documented on Storybook.
Install the dependencies...
npm install sveaFollowing a philosophy of using built in web- and browser-standards and thereby not overwriting or recreating a11y support. The goal is to follow WCAG of level AA.
Do's:
✔️ Using the HTML5 tags semantically
✔️ Supporting aria-attributes, read guidelines here
Don't:
❌ Overwrite standardise keyboard navigation
❌ Overwrite focus-outline
| Component | Keystroke | Notes |
|---|---|---|
| Button | enter or space |
activates the button |
Continuously updated as components are created
Follows guidelines here
Commit Messages should follow following standards:
type(category): description [flags]
Where type is one of the following:
breakingbuildcichoredocsfeatfixotherperfrefactorrevertstyletest
Begin by open it in localhost:
npm run autobuild
npm run start:devTo start the storybook, follow the process:
# run whenever changes are made to the components
npm run build
npm run storybookWhen done, npm run build-storybook can be used to release Storybook
To be continued (..)