-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7f88a07
commit 5d7c73e
Showing
2 changed files
with
57 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,56 @@ | ||
import { DevelopmentSection } from '@/components/doc/common/developmentsection'; | ||
import { DocSectionText } from '@/components/doc/common/docsectiontext'; | ||
|
||
export function AccessibilityDoc() { | ||
return ( | ||
<DevelopmentSection> | ||
<DocSectionText id="accessibility" label="Accessibility"> | ||
<h3>Screen Reader</h3> | ||
<p> | ||
Splitter bar defines <i>separator</i> as the role with <i>aria-orientation</i> set to either horizontal or vertical. | ||
</p> | ||
<DocSectionText id="accessibility" label="Accessibility"> | ||
<h3>Screen Reader</h3> | ||
<p> | ||
Splitter bar defines <i>separator</i> as the role with <i>aria-orientation</i> set to either horizontal or vertical. | ||
</p> | ||
|
||
<h3>Keyboard Support</h3> | ||
<div className="doc-tablewrapper"> | ||
<table className="doc-table"> | ||
<thead> | ||
<tr> | ||
<th>Key</th> | ||
<th>Function</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td> | ||
<i>tab</i> | ||
</td> | ||
<td>Moves focus through the splitter bar.</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<i>down arrow</i> | ||
</td> | ||
<td>Moves a vertical splitter down.</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<i>up arrow</i> | ||
</td> | ||
<td>Moves a vertical splitter up.</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<i>left arrow</i> | ||
</td> | ||
<td>Moves a vertical splitter to the left.</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<i>right arrow</i> | ||
</td> | ||
<td>Moves a vertical splitter to the right.</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
</DocSectionText> | ||
</DevelopmentSection> | ||
<h3>Keyboard Support</h3> | ||
<div className="doc-tablewrapper"> | ||
<table className="doc-table"> | ||
<thead> | ||
<tr> | ||
<th>Key</th> | ||
<th>Function</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td> | ||
<i>tab</i> | ||
</td> | ||
<td>Moves focus through the splitter bar.</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<i>down arrow</i> | ||
</td> | ||
<td>Moves a vertical splitter down.</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<i>up arrow</i> | ||
</td> | ||
<td>Moves a vertical splitter up.</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<i>left arrow</i> | ||
</td> | ||
<td>Moves a vertical splitter to the left.</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<i>right arrow</i> | ||
</td> | ||
<td>Moves a vertical splitter to the right.</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
</DocSectionText> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters