Use aria-disabled when locked or disabled

This commit is contained in:
Tessa Kelly 2020-11-20 11:00:01 -08:00
parent 1d4698dca7
commit 87ef25ef13

View File

@ -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)