Ploneconf 2018, Tokyo
“It currently requires 34 separate keyboard stops, and even more if the tester doesn’t have prior knowledge of how to navigate Gutenberg.”
All ARIA attributes are valid JSX props!
<input id={nameId} aria-label={accessibleLabel} type="text" />
Non-semantic
<Navigation /><SideMenu /><MainContent /> <div className="button-style" onClick={handler}> Save selection</div>
Semantic
<MainContent /> <button type="button" onClick={handler}> Save selection </button>
Normally we'd use ARIA live
<div aria-live="polite"
aria-atomic="true"
aria-relevant="additions">
**Notification messages goes here**
</div>
:focus {
outline: 0; //Or none
}
:focus {
// Some visual style
}
Name:
<label htmlFor="nameInput">
Name:
</label>
<input id="nameInput"
type="text" />
<div className="button-style"
onClick={onClickHandler}>
Press Me
</div>
<button onClick={onClickHandler}>
Press Me
</button>
<a onClick={onClickHandler}>
Click me
</a>
Navigate somewhere
beautiful
good a11y
just released as beta
strict a11y
https://github.com/whatsock/bootstrap-react