MapperUtilsScreenReaderCheckboxLabel Method |
Generate an HTML Label element appropriate for use in Screen Readers for the visually impaired
where the Label should not show (e.g. a row selector checkbox in a datasheet). The
Namespace:
NetQuarry.Data
Assembly:
EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static string ScreenReaderCheckboxLabel(
string text,
string labelFor
)
Public Shared Function ScreenReaderCheckboxLabel (
text As String,
labelFor As String
) As String
Parameters
- text
- Type: SystemString
The text for the label. - labelFor
- Type: SystemString
The client-side ID of the checkbox related to the label.
Return Value
Type:
StringThe HTML for the Label tag.
See Also