I have a variety of elements on my page, however I want only the 2 textboxes to be accessed by pressing tab, and continually pressing tab to go back and forth between them. What is the best way to achieve this?
Some relevant code below:
<input id="messageBox" placeholder="Type your message here... " tabindex="1" autocomplete="off" />
<input id="guessBox" placeholder="Type your guess here..." tabindex="2" autocomplete="off" />
<button id="btnRankUp">Rank Up</button>
<button id="btnHint">Hint</button>
<div id="audioControl">Volume:</div>
<input id="vol-control" type="range" min="0" max="100" step="1" />
<button id="btnMute">Mute</button>