-
Notifications
You must be signed in to change notification settings - Fork 355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accordion Example: Add animation on expand/collapse #597
Comments
Another example accordion is on the IBM Carbon design system. |
I am willing to take this up. Can we discuss what kind of animation we are looking for? |
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: IRC log of the discussion<jugglinmike> Topic: Accordion Animation |
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/
The text was updated successfully, but these errors were encountered: