Skip to content

Commit

Permalink
add a11y docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Michail Yasonik committed Sep 20, 2019
1 parent 29650ee commit dcee01c
Show file tree
Hide file tree
Showing 4 changed files with 615 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## [`master`](https://github.com/elastic/eui/tree/master)

- Adds guidelines on accessibility ([#2357](https://github.com/elastic/eui/pull/2357))

**Bug fixes**

- Fixed default z-index of `EuiPopover` ([#2341](https://github.com/elastic/eui/pull/2341))
Expand Down
6 changes: 6 additions & 0 deletions src-docs/src/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import { EuiErrorBoundary } from '../../src/components';

// Guidelines

import AccessibilityGuidelines from './views/guidelines/accessibility';

import ButtonGuidelines from './views/guidelines/button';

import ColorGuidelines from './views/guidelines/colors';
Expand Down Expand Up @@ -248,6 +250,10 @@ const navigation = [
{
name: 'Guidelines',
items: [
{
name: 'Accessibility',
component: AccessibilityGuidelines,
},
{
name: 'Buttons',
component: ButtonGuidelines,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export const FormCompressedExample = {
This is an example of how to combine compressed form controls with
from rows, labels, prepend and appends in a column layout.
</p>
<EuiCallOut color="warning" title="Accessiblity in compressed forms">
<EuiCallOut color="warning" title="Accessibility in compressed forms">
<p>
Pay close attention to the patterns of using{' '}
<EuiCode>htmlFor</EuiCode> and <EuiCode>aria-label</EuiCode>. For
Expand Down
Loading

0 comments on commit dcee01c

Please sign in to comment.