Reduce motion check in Freeform _scrollToForm function #300
zizther
started this conversation in
Feature Requests
Replies: 1 comment
-
This is now available in Freeform 5.7.2+ 🙂 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am currently looking at certain accessibility improvements on a project and I noticed Freeform uses
behavior:"smooth"
in the_scrollToForm
function, it would be good if this could check to see if the user has reduced motion selected and sets the behavior toauto
.Alternatively the behavior value could be manageable like you have for the offset, e.g.
Or removed and managed by the sites CSS using
Beta Was this translation helpful? Give feedback.
All reactions