Export (0) Print
Expand All

SiteMapPath.SkipLinkText Property

Note: This property is new in the .NET Framework version 2.0.

Gets or sets a value that is used to render alternate text for screen readers to skip the control's content.

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)

[LocalizableAttribute(true)] 
public virtual string SkipLinkText { get; set; }
/** @property */
public String get_SkipLinkText ()

/** @property */
public void set_SkipLinkText (String value)

public function get SkipLinkText () : String

public function set SkipLinkText (value : String)

Property Value

A string that the SiteMapPath control renders as alternate text with an invisible image, as a hint to screen readers. The default value is "Skip Navigation Links".

SkipLinkText is a property that you can set to make a Web page more or less accessible to users of screen readers. Web sites that contain content that repeats on multiple pages, such as controls that display site map data, can provide a mechanism that allows users of screen readers to skip the repeated content so that it is not 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 content. Screen readers read the alternate text aloud but the image does not disturb the visual flow of the page. 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 String.Empty.

The value of this property is stored in view state.

The value of this property, when set, can be saved automatically to a resource file by using a designer tool. For more information, see LocalizableAttribute and ASP.NET Globalization and Localization.

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft