From afc39971148adc253960fcc5af710fecc568c301 Mon Sep 17 00:00:00 2001 From: joe-allen-89 <85872286+joe-allen-89@users.noreply.github.com> Date: Thu, 11 Jul 2024 12:39:07 +0100 Subject: [PATCH 1/2] Fix: role added to component__widget div (fixes #209) --- templates/slider.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/slider.jsx b/templates/slider.jsx index e05881f..8917c41 100644 --- a/templates/slider.jsx +++ b/templates/slider.jsx @@ -64,6 +64,7 @@ export default function Slider (props) { ])} aria-labelledby={ariaQuestion ? null : (displayTitle || body || instruction) && `${_id}-header`} aria-label={ariaQuestion || null} + role='region' > {(labelStart || labelEnd) && From fafc54a3d8ba2c107eb83e5a37808fc4b9b491ec Mon Sep 17 00:00:00 2001 From: joe-allen-89 <85872286+joe-allen-89@users.noreply.github.com> Date: Mon, 15 Jul 2024 11:10:35 +0100 Subject: [PATCH 2/2] role changed from region to group --- templates/slider.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/slider.jsx b/templates/slider.jsx index 8917c41..1339b02 100644 --- a/templates/slider.jsx +++ b/templates/slider.jsx @@ -64,7 +64,7 @@ export default function Slider (props) { ])} aria-labelledby={ariaQuestion ? null : (displayTitle || body || instruction) && `${_id}-header`} aria-label={ariaQuestion || null} - role='region' + role='group' > {(labelStart || labelEnd) &&