JS to listen for tab focus on an html element
Want to detect focus initiated by a user pressing the tab key button on their keyboard? If the user focuses on an element by pressing tab, you can then fire many different types of commands (alert, console log, toggle class, … Continued