-
Notifications
You must be signed in to change notification settings - Fork 14
Carousel/Slideshow Entity #455
Comments
Input directly from @pburkeucla on a 'best case' scenario for behavior.
The current/most up to date method is to use ARIA's role=application. This let's you restrict the screen reader cursor movement (can only move between the player control buttons). This also should create more of a "boundary" between the active slideshow region (where special rules apply) & the boring rest of the page (normal rules of screen reading). |
@lnicks @pburkeucla this feedback is awesome! |
I would add for sighted keyboard (non-mouse) users, ensure that player controls are easy to find, easy to reach and visibly highlighted when they have focus. |
We also currently bump up the size of the buttons significantly on mobile breakpoints. |
Yes! Sorry I left that out... Patrick
|
My proposed markup for this: <figure class="slideshow">
<figure>
<img>
<figcaption>
</figure>
<figure>
<img>
<figcaption>
</figure>
<figure>
<img>
<figcaption>
</figure>
</figure> @pburkeucla and I had an interesting conversation about accessible behavior. Let me summarize... I suggested that the hide used to not display content should take the approach of Patrick posited the following:
My counter to this:
Ultimately, I think this arrives us at a question: how far do we go with responsive design? Put another way: is responsive design just about changing content flow or should we also be changing behavior? I think this is a question for the group as a whole to discuss. Of course, the ultimate solution is a conditional that could be set (as another class on the element) to dictate whether you want the behavior to change or not depending on the viewing medium. |
Not a big deal, but "accessibility device" is probably too general of a term here. I'm pretty sure that if I was more awake, I could think of an "accessibility device" that might see this differently from how a screen reader would. |
A couple of times we've been asked by a client if we can put a video in the slideshow. The slider we were using on Plone allowed for that. The Views Slideshow we use on our Drupal 6 sites and the homegrown slideshow we use on the Drupal 7 sites does not allow for videos. Also, the slider we used for Plone allowed for text and or html to be on a slide, even without an image. Both of those alternatives could be very useful. |
and the Plone one allowed for images and text together on one slide. Essentially it was just a block you could configure however you wanted. |
@chris4ucla good catch about the term "accessibility device" - really screen readers and other DOM parsing devices that do not observe the CSS Positioned Layout Module (or equivalent before CSS was modularized).
I see no reason we can't provide this. The use of figure, I believe, is still semantically correct, although I'll reconsult the spec to make sure it's still appropriate in such contexts. If not, we might need to use an ordered list instead - but this means that the captioning becomes less explicitly linked. |
Per the meeting, this should support the use of figure > ol > li > figure |
From meeting... This is a cultural battle. Great quote from @loganfranken :
Eric is willing to provide a class for the version that doesn't use hide-accessible - encourage moving into responsive design for devices that don't observe the CSS Positioned Layout Module, but let people have their controls if they want them. |
@hyperboy and @chris4ucla volunteered to help lead the charge on this one. One of the key drivers here is to create a markup prototype that is fully accessible, as most current implementations right now are not.
The text was updated successfully, but these errors were encountered: