Open peterfremlin opened 8 months ago
Enjoying this a lot - nice transition. Some adjustments:
In terms of access:
Yes, we need to do better on accessibility. Here are two sets of examples and guidelines: https://www.w3.org/WAI/ARIA/apg/patterns/carousel/examples/carousel-2-tablist/ https://www.w3.org/WAI/ARIA/apg/patterns/carousel/examples/carousel-1-prev-next/
Obviously, in your case it's just text, not an image, but the implementation needs to be similar. So we need the ability to advance between slides with keyboard or mouse. And if there's autoplay, there needs to be a play/stop button. That's going to clutter up the minimalist layout a bit. Perhaps we want /only/ the prev/next buttons, no autoplay?
Thanks Cathy.
I would like to keep the autoplay I think an using aria-live="off" or aria-hidden="true" to just make the changes unobtrusive to a screen-reader user? (Setting those stops announcing the changes?)
Perhaps this could be combined with unobtrusive previous/next buttons - clicking those would stop autoplay and let someone navigate them on their own time. That's also useful for anyone who needs it at a different speed.
And to be honest I would be happy to take it live on the site if we just address the first point of it not announcing.
The second point about the buttons we can save for mid-term revisions?
Currently:
That said, I am feeling that the site needs a redesign and I wonder when to do that rather than just tweaking