Skip to content

Commit

Permalink
intro docs
Browse files Browse the repository at this point in the history
  • Loading branch information
basher committed Apr 1, 2024
1 parent 1c7f1df commit 9ff2128
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ui/stories/1. Storybook Intro/1-Introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,16 @@ Just plain vanilla code. 😜
```

## Code authoring guidelines & accessibility
- All UI components are authored with **semantic HTML5** markup, which is **progressively enhanced** with JavaScript and `WAI-ARIA` as appropriate.
- All UI components are authored with **semantic HTML5** markup.
- Some components are **progressively enhanced** with JavaScript and `WAI-ARIA` as appropriate.
- The HTML markup uses the `BEM` methodology to provide CSS namespacing.
- Visual styling is minimal & unopinionated.
- The CSS is authored with as little code as necessary, making full use of the CSS cascade and inheritance.
- [View source code on Github](https://github.com/basher/Web-UI-Boilerplate).

### Web components
- The JavaScript-enhanced components are in the process of being converted into [HTML Web Components](/docs/web-components-or-custom-elements-using-web-components--docs).

### Accessibility testing
Storybook comes with 2 default accessibility testing tools:
- `Accessibility addon`. This is in the Storybook `addons` toolbar, and is built on the same [AxeCore API](https://www.deque.com/axe/) that Lighthouse uses.
Expand Down

0 comments on commit 9ff2128

Please sign in to comment.