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] 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) &&