Skip to content

Commit ad28ce0

Browse files
committed
FORMS-18706: Group of checkboxes not associated with group label @sunnym @vavarshn
1 parent b0cff31 commit ad28ce0

File tree

1 file changed

+2
-1
lines changed
  • ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/checkboxgroup/v1/checkboxgroup

1 file changed

+2
-1
lines changed

ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/checkboxgroup/v1/checkboxgroup/widget.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
value="${checkboxgroup.enums[itemList.index].toString}"
2525
checked="${checkboxgroup.enums[itemList.index] in checkboxgroup.default }"
2626
disabled="${!checkboxgroup.enabled || checkboxgroup.readOnly}"
27-
aria-readonly="${checkboxgroup.readOnly ? 'true' : ''}"/>
27+
aria-readonly="${checkboxgroup.readOnly ? 'true' : ''}"
28+
aria-label="${checkboxgroup.label.value}: ${checkboxgroup.enumNames[itemList.index]}"/>
2829
<span>${checkboxgroup.enumNames[itemList.index] @ context = 'html'}</span>
2930
</label>
3031
</div>

0 commit comments

Comments
 (0)