Accessibility Class |
Namespace: NetQuarry
The Accessibility type exposes the following members.
Name | Description | |
---|---|---|
AltTextImg |
Generates an invisible (1x1 transparent pixel) HTML IMG tag whose sole purpose is to include ALT
text for screen readers. Returns an empty string if provided text is null/empty.
| |
AltTextSet(LinkButton, String) |
This method sets the "aria-label" attribute supported by most screen readers as text to be read aloud instead
of the anchor's visible text.
Screen readers read aloud any ALT text on images, but not on anchor tags. The .Net LinkButton is rendered
as an anchor tag for which most screen readers will ignore the ALT text.
http://www.w3.org/TR/wai-aria/states_and_properties#aria-label
| |
AltTextSet(TextBox, String) |
This method sets the "aria-label" attribute supported by most screen readers as text to be read aloud instead
of the anchor's visible text.
Screen readers read aloud any ALT text on images, but not on most other tags.
http://www.w3.org/TR/wai-aria/states_and_properties#aria-label
| |
AriaLandmarkSet(HtmlControl, String, String) |
Set an ARIA landmark (role) on the specified control. ARIA landmarks can be used by assistive
technology such as screen readers to help visually-impaired users better navigate a web page.
See: http://www.w3.org/WAI/GL/wiki/Using_ARIA_landmarks_to_identify_regions_of_a_page
| |
AriaLandmarkSet(WebControl, String, String) |
Set an ARIA landmark (role) on the specified control. ARIA landmarks can be used by assistive
technology such as screen readers to help visually-impaired users better navigate a web page.
See: http://www.w3.org/WAI/GL/wiki/Using_ARIA_landmarks_to_identify_regions_of_a_page
|