From 70b3e3117a2a83700bad4af30906f634a8b3d786 Mon Sep 17 00:00:00 2001 From: T G V R S Santhosh Date: Sat, 17 Jun 2023 18:32:05 +0530 Subject: [PATCH 1/3] Setting duration to zero for transitions and animations --- content-for/test-head-footer.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/content-for/test-head-footer.html b/content-for/test-head-footer.html index 97eb266d..5f3f196a 100644 --- a/content-for/test-head-footer.html +++ b/content-for/test-head-footer.html @@ -28,4 +28,13 @@ height: 100%; transform: scale(1); } + + /* + * Setting duration to zero so that the elements will get transitioned/animated immediately + * so that the gradual transition/animation will not violate any of the WCAG guidelines + */ + .axe-running * { + transition-duration: 0s !important; + animation-duration: 0s !important; + } From dde6e3a9b986af3ca652688f0f1d078161242625 Mon Sep 17 00:00:00 2001 From: T G V R S Santhosh Date: Wed, 21 Jun 2023 12:29:36 +0530 Subject: [PATCH 2/3] Addressed comments --- content-for/test-head-footer.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content-for/test-head-footer.html b/content-for/test-head-footer.html index 5f3f196a..f39c199f 100644 --- a/content-for/test-head-footer.html +++ b/content-for/test-head-footer.html @@ -30,11 +30,11 @@ } /* - * Setting duration to zero so that the elements will get transitioned/animated immediately - * so that the gradual transition/animation will not violate any of the WCAG guidelines + * Disabling animation and transition so that the elements are not evaluated + * while the transition/animation is in progress. */ .axe-running * { - transition-duration: 0s !important; - animation-duration: 0s !important; + animation: none !important; + transition: none !important; } From 54c82bcd63b5b36d9c5d4f2756bbe561ba8265e3 Mon Sep 17 00:00:00 2001 From: Andrew A Lee Date: Wed, 21 Jun 2023 10:43:00 -0700 Subject: [PATCH 3/3] Update content-for/test-head-footer.html --- content-for/test-head-footer.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/content-for/test-head-footer.html b/content-for/test-head-footer.html index f39c199f..c03df993 100644 --- a/content-for/test-head-footer.html +++ b/content-for/test-head-footer.html @@ -30,8 +30,7 @@ } /* - * Disabling animation and transition so that the elements are not evaluated - * while the transition/animation is in progress. + * Disables visual effects so that elements aren't evaluated while in animation or transition. */ .axe-running * { animation: none !important;