How to ignore HTML element from tabindex?
问题 Is there any way in HTML to tell the browser not to allow tab indexing on particular elements? On my page though there is a sideshow which is rendered with jQuery, when you tab through that, you get a lot of tab presses before the tab control moves to the next visible link on the page as all the things being tabbed through are hidden to the user visually. 回答1: You can use tabindex="-1". The W3C HTML5 specification supports negative tabindex values: If the value is a negative integer The user