legend - Group Description

Provides a screen readable group description for a control.

Category

accessibility

Syntax

legend="description"

Usage

In Design mode, click All Properties and look for legend under accessibility.

Examples

This Check Box Group control provides a legend for accessibility.
<xp:checkBoxGroup id="checkBoxGroup1" value="#{document1.fruit}"
	legend="Check one or more items.">
	<xp:selectItems>
		<xp:this.value>
			<![CDATA[#{javascript:var list = @DbColumn("", "fruits", 1);
			return @Explode(list,",")}]]>
		</xp:this.value>
	</xp:selectItems>
</xp:checkBoxGroup>