Open arbydev opened 6 years ago
Another example accordion is on the IBM Carbon design system. http://carbondesignsystem.com/components/accordion/code
I am willing to take this up. Can we discuss what kind of animation we are looking for? Can we do that in CSS + JS or do want pure CSS ?
@smhigley will this be addressed by #1834?
Hey, was this addressed in the end? :) - I've got the exact same question as the OP. - 4+ years later.
@arbydev and @millieloop
The ARIA APG are intended to show how to use ARIA correctly with various widgets. This is what the pattern for Accordion does. It is not about providing implementations for all visual variants (animation, font color, text size). Everyone is free to make these adjustments.
If animations are wanted, then it should be noted that they are unfavorable from an accessibility point of view, see WCAG 2.3.3
@mcking65 I think the issue can be closed for formal reasons and in terms of content:
The ARIA-APG Task Force discussed this during its weekly meeting today. Meeting minutes are available here, and I've copied the relevant part of the IRC log below:
A complaint I have heard of your accordion example: https://www.w3.org/TR/2017/NOTE-wai-aria-practices-1.1-20171214/examples/accordion/accordion.html
Is that it does not smoothly animate on expand and collapse. It just blinks open and closed. It would be nice if there were configuration options that were included in your example to choose whether it does animate and what speed and easing is used.
Here are some examples of animated accordions:
https://codepen.io/chriswrightdesign/pen/cmanI https://jqueryui.com/accordion/ http://css3.bradshawenterprises.com/accordions/