Accessibility plugin for CSSS slide deck framework.
- Resets focus indicator to be visible on
Tab
key press - Removes
outline
on slide focus - Includes CSS helper classes
- Sets
role
for each slide for semantic context - Sets
aria-roledescription
for each slide for extra context - Sets
aria-label
for each slide to provide an accessible name - Outputs a link list for keyboard controls to load previous and next slides
- Shifts focus to slide content container on link click
Place plugin.css
file in css/plugins/a11y
directory and include in head
section of Slides document.
<link rel="stylesheet" href="framework/css/a11y/plugin.css">
Place plugin.js
file in scripts/plugins/a11y
directory and include before closing body
element of Slides document.
<script src="framework/scripts/plugins/a11y/plugin.js"></script>
- Chrome
- Edge
- Firefox
- Internet Explorer 10+
- Safari
- Opera
This project and its source code is licensed under the MIT license.