Click or drag to resize

Accessibility Class

Helper class for accessibility, in particular for screen readers used by the visually impaired.
Inheritance Hierarchy
SystemObject
  NetQuarryAccessibility

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static class Accessibility

The Accessibility type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAltTextImg
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.
Public methodStatic memberAltTextSet(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
Public methodStatic memberAltTextSet(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
Public methodStatic memberAriaLandmarkSet(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
Public methodStatic memberAriaLandmarkSet(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
Top
See Also