Last active
November 30, 2019 09:42
-
-
Save Dromediansk/bbba24f63e0b0369360daebeb78ea9dd to your computer and use it in GitHub Desktop.
Tab-index attribute example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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