From e4dc87828259534eb54963dff1b6fb18a088800b Mon Sep 17 00:00:00 2001 From: joe-allen-89 <85872286+joe-allen-89@users.noreply.github.com> Date: Fri, 12 Jul 2024 14:31:03 +0100 Subject: [PATCH 1/2] Fix: role added to component__widget div (#112) --- templates/confidenceSlider.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/confidenceSlider.jsx b/templates/confidenceSlider.jsx index 6fcdef2..ff74e76 100644 --- a/templates/confidenceSlider.jsx +++ b/templates/confidenceSlider.jsx @@ -69,6 +69,7 @@ export default function ConfidenceSlider (props) { ])} aria-labelledby={ariaQuestion ? null : (displayTitle || body || instruction) && `${_id}-header`} aria-label={ariaQuestion || null} + role='region' > {(labelStart || labelEnd) && From 535ba4feb7563ec6b3faeec1bccc17edb55fdc8a 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:08:23 +0100 Subject: [PATCH 2/2] role updated from region to group. --- templates/confidenceSlider.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/confidenceSlider.jsx b/templates/confidenceSlider.jsx index ff74e76..8d409d7 100644 --- a/templates/confidenceSlider.jsx +++ b/templates/confidenceSlider.jsx @@ -69,7 +69,7 @@ export default function ConfidenceSlider (props) { ])} aria-labelledby={ariaQuestion ? null : (displayTitle || body || instruction) && `${_id}-header`} aria-label={ariaQuestion || null} - role='region' + role='group' > {(labelStart || labelEnd) &&