Skip to content

Instantly share code, notes, and snippets.

@Dromediansk

Dromediansk/index.html

Last active Nov 30, 2019
Embed
What would you like to do?
Tab-index attribute example
<label>First in tab order:<input type="text"></label>
<span tabindex="0">Tabbable due to tabindex.</span>
<div>Not tabbable: no tabindex.</div>
<button tabindex="0" onClick={() => handleClick()}>Submit</button>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.