@@ -447,22 +447,24 @@ checkbox attrs { label, icon, checked, onChange } =
447447 ]
448448 ++ attrs
449449 in
450− applyLabel attributes
451− label
452− (Internal.element
453− Internal.asEl
454− Internal.div
455− [ Internal.Attr <|
456− Html.Attributes.attribute "role" "checkbox"
457− , Internal.Attr <|
458− Html.Attributes.attribute "aria-checked" <|
450+ applyLabel
451+ (Internal.Attr (Html.Attributes.attribute "role" "checkbox")
452+ :: Internal.Attr
453+ (Html.Attributes.attribute "aria-checked" <|
459454 if checked then
460455 "true"
461456
462457 else
463458 "false"
464− , hiddenLabelAttribute label
465− , Element.centerY
459+ )
460+ :: hiddenLabelAttribute label
461+ :: attributes
462+ )
463+ label
464+ (Internal.element
465+ Internal.asEl
466+ Internal.div
467+ [ Element.centerY
466468 , Element.height Element.fill
467469 , Element.width Element.shrink
468470 ]