From bc2d5c70738ec4c4e1a1c6de58e5467c68897200 Mon Sep 17 00:00:00 2001 From: joe-allen-89 <85872286+joe-allen-89@users.noreply.github.com> Date: Thu, 11 Jul 2024 11:07:44 +0100 Subject: [PATCH] Fix: role added to component__widget div (fixes #145) --- templates/textinput.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/textinput.jsx b/templates/textinput.jsx index 339c8a3..469eab8 100644 --- a/templates/textinput.jsx +++ b/templates/textinput.jsx @@ -30,6 +30,7 @@ export default function TextInput (props) { ])} aria-labelledby={ariaQuestion ? null : (displayTitle || body || instruction) && `${_id}-header`} aria-label={ariaQuestion || null} + role='group' > {props._items.map(({ prefix, _index, input, placeholder, userAnswer, suffix }, index) =>