WIP: feat/PausePlayButton closes #16, #30 #34

Draft
adrian wants to merge 16 commits from adrian/site:feat/PausePlayButton into feat/a11y

16 commits

Author SHA1 Message Date
Adrian Rosin
e5e9b9af79 allowed users with reduced animations to resume animations #30 2024-02-19 13:36:10 +01:00
Adrian Rosin
489e7b9e4f not displaying button when prefers-reduced-motion is set to reduce #30 2024-02-19 09:48:41 +01:00
Adrian Rosin
47a8f70c00 state triggering animations or not instead of checking the style of the buttons, ensuring code isn't call when prefers-reduced-motion is enabled #30 2024-02-19 09:37:05 +01:00
d30acf4e37 WIP : quelques corrections, et un début de booléen 'animationEnabled' qui doit déterminer si l'on anime ou pas la page, en s'y prenant au plus tôt : pas de code appelé si pas d'animation demandée, et arrêt auto de l'animation si on toggle le booléen 2024-02-15 15:33:38 +01:00
Adrian Rosin
63176f8e97 removed sr-only class #16 2024-02-15 13:06:50 +01:00
Adrian Rosin
57eae6b835 removed aria orientation of the nav 2024-02-14 10:32:25 +01:00
Adrian Rosin
0c3e79cd94 added noindex for robots 2024-02-09 09:49:22 +01:00
Adrian Rosin
013f315c50 improved performance of the script for the loading of it and the scroll event listener 2024-02-07 09:52:32 +01:00
Adrian Rosin
efeeba4743 feat: button disappear when scrolling down #16 2024-02-05 14:25:54 +01:00
Adrian Rosin
8cabd64acb fix: changed aria-orientation to undefined in the play/pause button 2024-02-02 11:14:15 +01:00
Adrian Rosin
14cfee2aee feat: changed aria live attribute also if the prefers reduced motion is set to off and if the user clicks on the button to play/pause animations #30 2024-02-02 11:03:55 +01:00
Adrian Rosin
7c1b44bd29 added aria region live attribute on each region which animates according to prefers-reduced-motion option selected #30 2024-02-02 10:59:02 +01:00
Adrian Rosin
632986b36b feat: added prefered reduced motion (prm) condition which triggers to directly disable the animations if the prm equals to reduce #30 2024-02-02 10:43:48 +01:00
Adrian Rosin
06a73e6b10 added pause/play button which pauses/plays the animations as a nav 2024-01-31 09:26:29 +01:00
Adrian Rosin
a396d36509 WIP pause the animation via button 2024-01-30 11:04:34 +01:00
Adrian Rosin
b7548e0447 added .idea to gitignore 2024-01-18 08:35:05 +01:00