aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authormarcysutton <holla@marcysutton.com>2015-06-05 14:02:46 -0400
committermarcysutton <holla@marcysutton.com>2015-06-05 14:02:46 -0400
commit242f2d6c964111dc3d9a3dd958f80537a6223f13 (patch)
tree102ac7a255628c7859d3f03938e34cde78d4ee5c /js
parentf0cf1f54d04088d241acf81eef42bd878a9f02ba (diff)
downloadfreenode-live-2017-presentation-242f2d6c964111dc3d9a3dd958f80537a6223f13.tar
freenode-live-2017-presentation-242f2d6c964111dc3d9a3dd958f80537a6223f13.tar.gz
accessibility: controls as buttons, not divs
Diffstat (limited to 'js')
-rw-r--r--js/reveal.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/reveal.js b/js/reveal.js
index ff5ea53..8964a0c 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -457,10 +457,10 @@
// Arrow controls
createSingletonNode( dom.wrapper, 'aside', 'controls',
- '<div class="navigate-left"></div>' +
- '<div class="navigate-right"></div>' +
- '<div class="navigate-up"></div>' +
- '<div class="navigate-down"></div>' );
+ '<button class="navigate-left" aria-label="previous slide"></button>' +
+ '<button class="navigate-right" aria-label="next slide"></button>' +
+ '<button class="navigate-up" aria-label="above slide"></button>' +
+ '<button class="navigate-down" aria-label="below slide"></button>' );
// Slide number
dom.slideNumber = createSingletonNode( dom.wrapper, 'div', 'slide-number', '' );