System.Web.UI.WebControls Namespace SiteMapPath Class
.NET Framework version 2.0
Sets or retrieves a value that is used to render alternate text for screen readers to skip the content for the control.
Inline |
<asp:sitemappath skiplinktext = strText ... > |
Script |
SiteMapPath.SkipLinkText = strText |
strText |
String that the SiteMapPath renders as alternate text with an invisible image, as a hint to screen readers. |
The property is read/write with a default value of "Skip Navigation Links".
Use the SkipLinkText property to specify or determine the alternate text that the SiteMapPath renders with an invisible image, as a hint to screen readers.
The SkipLinkText property is a property that a page developer can set to make a Web page more or less accessible. Web pages that contain content that repeats can provide for a mechanism for users of screen readers to skip the content from being read aloud.
The SiteMapPath control provides the SkipLinkText property as a way for the entire control to be skipped by screen readers. If the SkipLinkText property is set, an invisible image with alternate text is rendered, giving the user the option to jump to the end of the control. Screen readers read the alternate text aloud, while the image occupies only one pixel space.
The property is set to "Skip Navigation Links" by default, which makes screen readers skip the control. If you want to disable this behavior, set the property to an empty string ( "" ).
SiteMapPath Members