Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In looking at the front page slider, I noticed that you can't actually select one of the slides "1,2,3" without a mouse.
I haven't looked into this in any depth, but the links needed to be actual links. <a class="">2</a>
isn't good enough unless you are specifically building your JS to work for keyboard-only functionality.
You need the href="#" for most browsers to allow you to access it.
Comment | File | Size | Author |
---|---|---|---|
#3 | slide.patch | 302 bytes | mheinke |
Comments
Comment #1
mheinke CreditAttribution: mheinke commentedComment #2
mheinke CreditAttribution: mheinke commentedhmmm, thats an interesting one.
it seems that in the Out of Box flexslider the code looks like this:
so i will have to do some digging as to where we are modifying that and fix it.
thanks for the issue reporting! if you see any more accessability issues please feel free to post them, id it if i could say this theme is the most accessible drupal theme!
Comment #3
mheinke CreditAttribution: mheinke commentedthis patch allows you to use the arrow keys to move the slider back and fourth.
in js/slide.js:
needs to be:
Comment #4
mgiffordBeing able to use the arrow keys is good, but discoverability is often a problem with these types of things.
How does one know that they can use the arrow keys to do this? Normally keyboard only users simply tab through the interface jumping between links.
Comment #5
mheinke CreditAttribution: mheinke commentedthats an interesting question...i know some people put hidden text near the controls? i dont know using tabindex wont really work unless i go through an assign every area a number...
Comment #6
mheinke CreditAttribution: mheinke commentedI cant seem to get an answer on how to make it so screen readers can tell users to use the arrow keys. until I can find something im going to close this as "fixed - ready to be ported"
Comment #7
mheinke CreditAttribution: mheinke commentedComment #8
mheinke CreditAttribution: mheinke commentedthe first patch is in the mainline code...im not sure what else to do about it. so im closing this issue.
Comment #9
mheinke CreditAttribution: mheinke commented