From 87ef25ef13bfbb1314196f1884cc2d2b5d92be4a Mon Sep 17 00:00:00 2001 From: Tessa Kelly Date: Fri, 20 Nov 2020 11:00:01 -0800 Subject: [PATCH] Use aria-disabled when locked or disabled --- src/Nri/Ui/RadioButton/V2.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Nri/Ui/RadioButton/V2.elm b/src/Nri/Ui/RadioButton/V2.elm index ba7a3952..9813715d 100644 --- a/src/Nri/Ui/RadioButton/V2.elm +++ b/src/Nri/Ui/RadioButton/V2.elm @@ -156,7 +156,7 @@ internalView config = (config.valueToString config.value) isChecked [ id id_ - , Html.Styled.Attributes.disabled config.isLocked + , Widget.disabled (config.isLocked || config.isDisabled) , if not config.isDisabled then onClick (config.onSelect config.value)