From e17d0220c0ce1af87218adc37eee5b2728416a1e Mon Sep 17 00:00:00 2001 From: Sam Potts Date: Sat, 11 Mar 2023 21:14:43 +1100 Subject: [PATCH] fix(a11y): add timer role to time elements --- src/js/controls.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js/controls.js b/src/js/controls.js index 217fea1e..1f5c02ea 100644 --- a/src/js/controls.js +++ b/src/js/controls.js @@ -383,6 +383,7 @@ const controls = { extend(attributes, { class: `${attributes.class ? attributes.class : ''} ${this.config.classNames.display.time} `.trim(), 'aria-label': i18n.get(type, this.config), + role: 'timer', }), '00:00', );