Closed bradleywertman closed 9 years ago
@bradleywertman I've run into some problems with carousels where even ie9 has some trouble rendering them.
Several people have mentioned that carousels don't necessarily need to be in Calcite Web - @nikolaswise @patrickarlt
It's starting to feel like calcite-web maybe shouldn't provide a carousel, but we could provide a theme for a fully featured carousel that is already out there. What do you think? Do you have a carousel that you've used before that you think we could use instead?
I'm tagging this issue with question so that we can discuss it in a group.
/cc @ngoldman @CassidyB
I think if we decide to provide a carousel, it should absolutely feature wrapping from the end to the beginning. I'm not sure it would support autoplay as that's been shown to pretty severely hinder usability: http://www.nngroup.com/articles/auto-forwarding/
Also, especially seeing as we had our accessibility review today and it is top of mind, carousels generally don't meet accessibility standards. Even Bootstrap warns people about this: http://getbootstrap.com/javascript/#accessibility-issue
Despite not meeting accessibility standards and poor usability...
We have used carousels often in the past. The content usually is not the focus of the page it resides on, but sometimes it was. Old examples:
Two new projects that I am working on required carousels:
Personally, I was looking for a common piece of js functionality that I could re-skin as needed if the default calcite theme didn't match what was needed.
Currently we are using tailcoat today, but I wanted to be using a common pattern that could be quickly switched over to calcite when the time came.
@bradleywertman thanks, that is really helpful.
Another option for this would be to have a separate calcite-carousel library that registers itself as a calcite plugin that people could choose to include it on a calcite project. It might be nice to break out the carousel functionality from the main js file as we are already approaching like 700 LOC in calcite-web.js which is ridiculous for implementing some simple interface patterns.
We will be breaking this out into it's own project: https://github.com/Esri/calcite-carousel
Will the the carousel loop around forwards and backwards? (http://esri.github.io/calcite-web/patterns/#carousel) Currently it doesn't.
Will it be able to auto start? And if so, will the delay between slides be modifiable and incorporate a `pause-on-hover``?