Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 841553
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T05:48:53+00:00 2026-05-15T05:48:53+00:00

In the Web Content Accessibility Guidelines is states that you should supply a skip

  • 0

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.

6.2 Grouping and bypassing links WCAG Guidelines

However, this technique relies on using the name attribute on an anchor tag:

<h2><a name="content">Content</a></h2>

Along with the skip-to link:

<a href="#content">Skip to content</a>

The problem is, the “name” attribute of the anchor tag is obsolete in HTML5. HTML Obsolete Features

Is there any other way to achieve this “skip to” functionality without using the name attribute?

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T05:48:54+00:00Added an answer on May 15, 2026 at 5:48 am

    Instead of using <a> tags, you can use any element with the id attribute:

    <h2 id="content">Content</h2>
    
    <a href="#content">Skip to content</a>
    

    EDIT, found you a source (albeit it’s Wikipedia ;-)):

    Alternatively (and sometimes concurrently), with the name or id attributes set, the element becomes a target. A Uniform Resource Locator can link to this target via a fragment identifier. Any element can now be made into an anchor by using the id attribute,[2] so using <a name="foo"> is not necessary.

    http://en.wikipedia.org/wiki/HTML_element#Anchor

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a content query web part that queries by content type against a
Will content requested over https still be cached by web browsers or do they
I support a web site which generates content XML that is then translated into
Let's say I have a web site for hosting community generated content that targets
Is there an option to block some content in web browser without ID of
I'm exploring the XML -> XSLT -> HTML meme for producing web content. I
I'm using the content query web part and have exported it to a webpart
I'm building a web portal where language content will generally depend on the accept-language
I am developing a web page code, which fetches dynamically the content from the
I am looking for a CSS-based web page template where the main content div

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.