我们应该在哪里放“跳到内容”链接?

时间:2009-11-26 05:48:50

标签: xhtml accessibility

见1,2和3。

<body>
    <Place 1>

  <div id="container">

    <Place 2>

    <div id="header">

    <Place 3>

      <div id="logo">

      </div>

    </div>

  </div>
</body>

4 个答案:

答案 0 :(得分:1)

我更喜欢顶部。在这种情况下,它更有用。

见以下样本
http://www.w3.org/WAI/
http://websitetips.com/

答案 1 :(得分:1)

'跳至内容'和'跳至菜单'链接应放在任何其他链接或文本之前。如果在它们之前有15个开放div则无关紧要。

WCAG 2.0的相关技术是 G1: Adding a link at the top of each page that goes directly to the main content area

答案 2 :(得分:0)

毫无疑问,不同的网站会有所不同,但我会把它放在导航之前。

通过这种方式,屏幕阅读器可以在必须通过主导航列表并说出“关于我们”之类的内容之前读出“跳至内容”。链接。联系我们。'等

答案 3 :(得分:0)

不应该放置它 - 将您的内容放在HTML文件中,然后放入导航/垃圾内容。

(我知道很多地方在实践中发现这很困难,但是如果你想要屏幕阅读器/纯文本浏览器支持,你也可以一路走下去)