Menu.SkipLinkText 속성

정의

링크 목록을 건너뛰는 기능을 제공하기 위해 화면 판독기가 읽은 숨겨진 이미지에 대한 대체 텍스트를 가져오거나 설정합니다.

public:
 property System::String ^ SkipLinkText { System::String ^ get(); void set(System::String ^ value); };
public string SkipLinkText { get; set; }
member this.SkipLinkText : string with get, set
Public Property SkipLinkText As String

속성 값

String

링크 목록을 건너뛰는 기능을 제공하기 위해 화면 판독기가 읽은 숨겨진 이미지에 대한 대체 텍스트입니다. 기본값은 빈 문자열("")로, 이 속성이 설정되어 있지 않음을 나타냅니다.

예제

다음 코드 예제를 사용 하는 방법에 설명 합니다 SkipLinkText 링크 목록을 건너뛰는 기능을 제공 하려면 화면 판독기가 읽은 숨겨진된 이미지에 대 한 대체 텍스트를 지정 하는 속성입니다.


<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
  <head runat="server">
    <title>Menu SkipLinkText Example</title>
</head>
<body>
    <form id="form1" runat="server">
    
      <h3>Menu SkipLinkText Example</h3>

      <asp:menu id="NavigationMenu"
        staticdisplaylevels="2"
        staticsubmenuindent="10" 
        orientation="Vertical"
        skiplinktext="Skip Menu" 
        runat="server">
      
        <items>
          <asp:menuitem text="Home"
            tooltip="Home">
            <asp:menuitem text="Music"
              tooltip="Music">
              <asp:menuitem text="Classical"
                tooltip="Classical"/>
              <asp:menuitem text="Rock"
                tooltip="Rock"/>
              <asp:menuitem text="Jazz"
                tooltip="Jazz"/>
            </asp:menuitem>
            <asp:menuitem text="Movies"
              tooltip="Movies">
              <asp:menuitem text="Action"
                tooltip="Action"/>
              <asp:menuitem text="Drama"
                tooltip="Drama"/>
              <asp:menuitem text="Musical"
                tooltip="Musical"/>
            </asp:menuitem>
          </asp:menuitem>
        </items>
      
      </asp:menu>

    </form>
  </body>
</html>

<%@ Page Language="VB" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
  <head runat="server">
    <title>Menu SkipLinkText Example</title>
</head>
<body>
    <form id="form1" runat="server">
    
      <h3>Menu SkipLinkText Example</h3>

      <asp:menu id="NavigationMenu"
        staticdisplaylevels="2"
        staticsubmenuindent="10" 
        orientation="Vertical"
        skiplinktext="Skip Menu" 
        runat="server">
      
        <items>
          <asp:menuitem text="Home"
            tooltip="Home">
            <asp:menuitem text="Music"
              tooltip="Music">
              <asp:menuitem text="Classical"
                tooltip="Classical"/>
              <asp:menuitem text="Rock"
                tooltip="Rock"/>
              <asp:menuitem text="Jazz"
                tooltip="Jazz"/>
            </asp:menuitem>
            <asp:menuitem text="Movies"
              tooltip="Movies">
              <asp:menuitem text="Action"
                tooltip="Action"/>
              <asp:menuitem text="Drama"
                tooltip="Drama"/>
              <asp:menuitem text="Musical"
                tooltip="Musical"/>
            </asp:menuitem>
          </asp:menuitem>
        </items>
      
      </asp:menu>

    </form>
  </body>
</html>

설명

사용 된 SkipLinkText 링크 목록을 건너뛰는 기능을 제공 하려면 화면 판독기가 읽은 숨겨진된 이미지에 대 한 대체 텍스트를 지정 하는 속성입니다. 텍스트를 지정 하는 숨겨진된 설명은 사용 하 여 보조 기술 디바이스 건너뛸 컨트롤을 보다 쉽게 액세스할 수 있도록 하는 데 사용할 수 있는 링크 이미지를 제공 합니다.

이 속성의 값으로 설정 된 경우 디자이너 도구를 사용 하 여 리소스 파일에 자동으로 저장 될 수 있습니다. 자세한 내용은 LocalizableAttribute 하 고 전역화 및 지역화합니다.

합니다 Menu 컨트롤을 제공 합니다 SkipLinkText 전체 컨트롤을 화면 판독기에서 건너뛸 수에 대 한 방법으로 속성입니다. 경우는 SkipLinkText 속성을 설정 하면 사용자 컨트롤의 끝으로 이동 하는 옵션 제공 대체 텍스트를 사용 하 여 보이지 않는 이미지로 렌더링 됩니다. 화면 판독기 대체 텍스트를 소리내어 읽어주는 속도, 및 이미지는 픽셀이 하나만 공간을 차지 합니다. 설정 페이지의 렌더링을 픽셀 단위의 정밀한 제어를 SkipLinkText 속성을 빈 문자열 ("") 메뉴 표시 하지 않으려면 사용자 고유의 메커니즘을 제공 합니다. SkipLinkText 기본적으로 속성을 빈 문자열로 설정 됩니다.

적용 대상

추가 정보