title: HTML5 How To Skip Navigation When Name Attribute Is Obsolete
body: <p>In the Web Content Accessibility Guidelines is states that you should supply a "skip" link that jumps you (for example) over a navigation block and straight into the content. This is particularly useful for impaired users who use a screen-reader to describe a page audibly.</p>
  
  <p>6.2 Grouping and bypassing links <a href="http://www.w3.org/TR/WCAG10-HTML-TECHS/" rel="noreferrer">WCAG Guidelines</a></p>
  
  <p>However, this technique relies on using the name attribute on an anchor tag:</p>
  
  <pre><code>&lt;h2&gt;&lt;a name="content"&gt;Content&lt;/a&gt;&lt;/h2&gt;
  </code></pre>
  
  <p>Along with the skip-to link:</p>
  
  <pre><code>&lt;a href="#content"&gt;Skip to content&lt;/a&gt;
  </code></pre>
  
  <p>The problem is, the "name" attribute of the anchor tag is obsolete in HTML5. <a href="http://www.w3.org/TR/html5/obsolete.html" rel="noreferrer">HTML Obsolete Features</a></p>
  
  <p>Is there any other way to achieve this "skip to" functionality without using the name attribute?</p>
  
  <p>Footnote: The status of the HTML5 specification in still in draft and it is possible that the name attribute will actually continue to be allowed in this scenario - although it will probably still generate a "warning". It has currently been marked as "obsolete but conforming", which means you COULD still use it - however, I would like to know of other ways to perform the "skip to" to see if there is a way to do it that doesn't rely on an obsolete attribute.</p>