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

  • SEARCH
  • Home
  • 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 6081519
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:11:05+00:00 2026-05-23T11:11:05+00:00

If i use a anchor tag in my asp.net mvc 2 web app how

  • 0

If i use a anchor tag in my asp.net mvc 2 web app how can i make sure the user can ‘tab’ to it in case he is just using his keyboard?

I use something like this but it is not accessible?

 <a id="someanchor">Upload statement</a>

   $("#someanchor").click(function () {
            //some js
        });

how to create an anchor tag that is accesible?

  • 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-23T11:11:05+00:00Added an answer on May 23, 2026 at 11:11 am

    You need an href – without one, the anchor is considered to be a non-interactive placeholder.

    <a id="someanchor" href="javascript:void(0)">Upload statement</a>
    

    In this case, the href is present, so the A ends up being a tabbable link and can be activated via keyboard, but the target URL – javascript:void(0) – is basically a no-op, so no actual navigation occurs.

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

Sidebar

Related Questions

In ASP.NET MVC I see I have handy HTML helpers that I can use
I just updated a WebForms/ASP.NET MVC 3 hybrid application to use mvc3 and the
I've got an ASP.Net page in which I have an html anchor tag and
Use case: user clicks the link on a webpage - boom! load of files
i'm working on an asp.net app, the following link works in IE but not
I tried to use more than one click handler for anchor tag . One
Apologies, I'm new to ASP.NET MVC. :) I'm unsure if this is simple a
I have a C# ASP.NET app that creates a JavaScript array of values for
I am converting an existing ASP.NET website to use jQuery Mobile controls. The first
Here my designer change the way to use anchor tag in html template, so

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.