From 7cfc539f7d689a9402a0a4b3b5aa1824e560e97f Mon Sep 17 00:00:00 2001 From: Oliver Foster Date: Mon, 14 Oct 2024 12:00:22 +0100 Subject: [PATCH] Fix: Use aria-disabled instead of disabled on input (fixes #227) (#228) --- templates/mcq.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/mcq.jsx b/templates/mcq.jsx index d210e39..264825f 100644 --- a/templates/mcq.jsx +++ b/templates/mcq.jsx @@ -63,7 +63,7 @@ export default function Mcq(props) { id={`${_id}-${index}-input`} name={_isRadio ? `${_id}-item` : null} type={_isRadio ? 'radio' : 'checkbox'} - disabled={!_isEnabled} + aria-disabled={!_isEnabled} checked={_isActive} aria-label={!_shouldShowMarking ? a11y.normalize(altText || text) :