Skip to content

Commit

Permalink
Setting duration to zero for transitions and animations
Browse files Browse the repository at this point in the history
  • Loading branch information
tgvrssanthosh committed Jun 17, 2023
1 parent 58189b2 commit 70b3e31
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions content-for/test-head-footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
</style>

0 comments on commit 70b3e31

Please sign in to comment.