Reputation: 2759
I have created a very simple test page below. When I open it in Internet Explorer and start tabbing through it then it tabs through all the links for the first time. However it doesn't tab through them for the second time. It just cycles through address bar, home button and current tab. It never goes to the links. It is happening because of including the javascript file snare.js but we need it on our page. Can anyone suggest any way to overcome it? I have tried several approaches but it doesn't work (copying file locally, trying to focus on links etc.).
Note - The problem is only happening in Internet Explorer.
<!DOCTYPE HTML>
<HTML>
<HEAD>
<TITLE>Test Title</TITLE>
<script type='text/javascript' language='JavaScript' src='https://mpsnare.iesnare.com/snare.js'> </script>
</HEAD>
<BODY>
<a href="http://www.google.com">Test</a>
<a href="http://www.google.com">Test2</a>
<a href="http://www.google.com">Test3</a>
</BODY>
</HTML>
Upvotes: 0
Views: 872
Reputation: 727
Your javascript error i try remove script tag it woking. hope this help!
You can trick javascript focus on link3 when blur link1 or use other trick my code i test working ok
<!DOCTYPE HTML>
<HTML>
<HEAD>
<TITLE>Send Money - Set Up Payment - U.S. Bank</TITLE>
<script type='text/javascript' language='JavaScript' src='https://mpsnare.iesnare.com/snare.js'> </script>
</HEAD>
<BODY>
<div>
<a id="link1" onBlur="this.tabIndex=1" href="http://www.google.com">Test</a>
<a id="link2" onBlur="this.tabIndex=2" href="http://www.google.com" >Test2</a>
<a id="link3" onBlur="document.getElementById('link1').focus()" href="http://www.google.com">Test3</a>
</div>
</BODY>
</HTML>
Upvotes: 1