Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 933
  • Last Modified:

Tabindex


On radio2 I have set the tabindex as 1 and in radio1 I set the tabindex as 2. But the tabindex's dont work, after I hit tab on radio2 the focus goes somewhere else... what am i doing wrong?

<form id="Form1" method="post" runat="server">
&nbsp; <INPUT id="Radio2" style="Z-INDEX: 102; LEFT: 142px; POSITION: absolute; TOP: 77px" type="radio" value="Radio2" name="RadioGroup" runat="server" tabIndex="1">
<INPUT id="Radio1" style="Z-INDEX: 103; LEFT: 208px; POSITION: absolute; TOP: 77px" type="radio" value="Radio1" name="RadioGroup" runat="server" tabIndex="2">
</form>
0
Moizsaif123
Asked:
Moizsaif123
  • 2
1 Solution
 
mattfairwCommented:
if i'm remembering correctly...

tabindexes on radio button in the same group can only have one tab index. once the radio button group has focus, you must navigate the choices with the arrow keys, but only one tabindex pergroup
0
 
mattfairwCommented:
yeah, can't be done for buttons of the same group. you must use arros keys once group has focus
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now