diff options
author | marcysutton | 2015-06-05 14:02:46 -0400 |
---|---|---|
committer | marcysutton | 2015-06-05 14:02:46 -0400 |
commit | 242f2d6c964111dc3d9a3dd958f80537a6223f13 (patch) | |
tree | 102ac7a255628c7859d3f03938e34cde78d4ee5c /js | |
parent | f0cf1f54d04088d241acf81eef42bd878a9f02ba (diff) |
accessibility: controls as buttons, not divs
Diffstat (limited to 'js')
-rw-r--r-- | js/reveal.js | 8 |
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', '' ); |