--- /dev/null
+<nav class="breadcrumbs" role="navigation" aria-label="breadcrumbs">
+ <li role="menuitem"><a href="#">Home</a></li>
+ <li role="menuitem"><a href="#">Features</a></li>
+ <li role="menuitem" class="unavailable" role="button" aria-disabled="true"><a href="#">Gene Splicing</a></li>
+ <li role="menuitem" class="current"><a href="#">Cloning</a></li>
+</nav>
\ No newline at end of file
--- /dev/null
+<nav class="breadcrumbs" role="navigation" aria-label="breadcrumbs">
+ <li role="menuitem"><a href="#">Home</a></li>
+ <li role="menuitem"><a href="#">Features</a></li>
+ <li role="menuitem" class="unavailable" role="button" aria-disabled="true"><a href="#">Gene Splicing</a></li>
+ <li role="menuitem" class="current"><a href="#">Cloning</a></li>
+</nav>
\ No newline at end of file
--- /dev/null
+<ul class="pagination" role="menubar" aria-label="Pagination">
+ <li class="arrow unavailable"><a href="">« Previous</a></li>
+ <li class="current"><a href="">1</a></li>
+ <li><a href="">2</a></li>
+ <li><a href="">3</a></li>
+ <li><a href="">4</a></li>
+ <li class="unavailable" aria-disabled:"true"><a href="">…</a></li>
+ <li><a href="">12</a></li>
+ <li><a href="">13</a></li>
+ <li class="arrow"><a href="">Next »</a></li>
+</ul>
\ No newline at end of file
--- /dev/null
+<ul class="pagination" role="menubar" aria-label="Pagination">
+ <li class="arrow unavailable"><a href="">« Previous</a></li>
+ <li class="current"><a href="">1</a></li>
+ <li><a href="">2</a></li>
+ <li><a href="">3</a></li>
+ <li><a href="">4</a></li>
+ <li class="unavailable"><a href="">…</a></li>
+ <li><a href="">12</a></li>
+ <li><a href="">13</a></li>
+ <li class="arrow"><a href="">Next »</a></li>
+</ul>
\ No newline at end of file
--- /dev/null
+ <ul class="side-nav" role="navigation" title="Link List">
+ <li role="menuitem"><a href="#">Link 1</a></li>
+ <li role="menuitem"><a href="#">Link 2</a></li>
+ <li role="menuitem"><a href="#">Link 3</a></li>
+ <li role="menuitem"><a href="#">Link 4</a></li>
+ </ul>
\ No newline at end of file
--- /dev/null
+<ul class="side-nav" role="navigation" title="Link List">
+ <li role="menuitem"><a href="#">Link 1</a></li>
+ <li role="menuitem"><a href="#">Link 2</a></li>
+ <li role="menuitem"><a href="#">Link 3</a></li>
+ <li role="menuitem"><a href="#">Link 4</a></li>
+</ul>
\ No newline at end of file
--- /dev/null
+ <dl class="sub-nav" role="menu" title="Filter Menu List">
+ <dt>Filter:</dt>
+ <dd class="active" role="menuitem"><a href="#">All</a></dd>
+ <dd role="menuitem"><a href="#">Active</a></dd>
+ <dd role="menuitem"><a href="#">Pending</a></dd>
+ <dd role="menuitem"><a href="#">Suspended</a></dd>
+ </dl>
\ No newline at end of file
--- /dev/null
+ <dl class="sub-nav" role="menu" title="Filter Menu List">
+ <dt>Filter:</dt>
+ <dd class="active" role="menuitem"><a href="#">All</a></dd>
+ <dd role="menuitem"><a href="#">Active</a></dd>
+ <dd role="menuitem"><a href="#">Pending</a></dd>
+ <dd role="menuitem"><a href="#">Suspended</a></dd>
+ </dl>
\ No newline at end of file
***
+<h3>Accessibility</h3>
+
+Use this snippet to make breadcrumbs more accessible. Adding the role attribute gives context to a screen reader. The ```aria-label``` attribute will allow a screen reader to call out what the component is to the user. We added some Scss so the screen reader skips the ```/```. Using the Tab button, a user can navigate until they've reached the link below. (Use Shift+Tab to navigate back one step.)
+
+If you are using an ```unavailable``` link, give it an aria-disabled attribute as in this example:
+
+<div class="row">
+ <div class="large-6 columns">
+ <h4>HTML</h4>
+{{#markdown}}
+```html
+{{> examples_breadcrumbs_accessible}}
+```
+{{/markdown}}
+ </div>
+ <div class="large-6 columns">
+ <h4>Rendered HTML</h4>
+
+{{> examples_breadcrumbs_accessible_rendered}}
+
+ </div>
+</div>
+
+**Note:** It is bad practice to leave links that do not go anywhere on your live site. Use something like foo.html to fill them as you build.
+
+***
+
## Customize with Sass
Breadcrumbs can be easily customized using our Sass variables.
***
+<h3>Accessibility</h3>
+
+Use this snippet to make Pagination more accessible. Adding the role attribute gives context to a screen reader. The ```aria-label``` attribute will allow a screen reader to call out what the component is to the user. Using the Tab button, a user can navigate until they've reached the link below. (Use Shift+Tab to navigate back one step.)
+
+If you are using an ```unavailable``` link, give it an aria-disabled attribute as in this example:
+
+<div class="row">
+ <div class="large-6 columns">
+ <h4>HTML</h4>
+{{#markdown}}
+```html
+{{> examples_pagination_accessible}}
+```
+{{/markdown}}
+ </div>
+ <div class="large-6 columns">
+ <h4>Rendered HTML</h4>
+{{> examples_pagination_accessible_rendered}}
+ </div>
+</div>
+
+<p class="panel">This component still needs keyboard accessibility through arrow keys. Stay tuned for updates in future releases.</p>
+
+**Note:** It is bad practice to leave links that do not go anywhere on your live site. Use something like foo.html to fill them as you build.
+
+***
+
## Customize with Sass
Pagination styles can be easily customized with the Sass variables provided in the `_settings.scss` file.
***
+<h3>Accessibility</h3>
+
+Use this snippet to make side-nav more accessible. Adding the role attribute gives context to a screen reader. Using the Tab button, a user can navigate until they've reached the link below. (Use Shift+Tab to navigate back one step.)
+
+<div class="row">
+ <div class="large-6 columns">
+ <h4>HTML</h4>
+{{#markdown}}
+```scss
+{{> examples_sidenav_accessible}}
+```
+{{/markdown}}
+ </div>
+ <div class="large-6 columns">
+ <h4>Rendered HTML</h4>
+
+{{> examples_sidenav_accessible_rendered}}
+
+ </div>
+</div>
+
+**Note:** It is bad practice to leave links that do not go anywhere on your live site. Use something like foo.html to fill them as you build.
+
+***
+
## Customize with Sass
The side nav can be easily customized using our Sass variables
***
+<h3>Accessibility</h3>
+
+Use this snippet to make sub-nav more accessible. Adding the role attribute gives context to a screen reader. Using the Tab button, a user can navigate until they've reached the link below. (Use Shift+Tab to navigate back one step.)
+
+<div class="row">
+ <div class="large-6 columns">
+ <h4>SCSS</h4>
+{{#markdown}}
+```scss
+{{> examples_subnav_accessible}}
+```
+{{/markdown}}
+ </div>
+ <div class="large-6 columns">
+ <h4>HTML</h4>
+
+{{> examples_subnav_accessible_rendered}}
+
+ </div>
+</div>
+
+**Note:** It is bad practice to leave links that do not go anywhere on your live site. Use something like foo.html to fill them as you build.
+
+***
+
### Sass Errors?
If the default "foundation" import was commented out, then make sure you import this file:
}
}
}
+
+/* Accessibility - hides the forward slash */
+[aria-label="breadcrumbs"] [aria-hidden="true"]:after {
+ content: "/";
+ }