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] 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; + }