How to ignore HTML element from tabindex? -


is there way in html tell browser not allow tab indexing on particular elements?

on page though there sideshow rendered jquery, when tab through that, lot of tab presses before tab control moves next visible link on page things being tabbed through hidden user visually.

you can use tabindex="-1".

the w3c html5 specification supports negative tabindex values:

if value negative integer
user agent must set element's tabindex focus flag, should not allow element reached using sequential focus navigation.


watch out though html5 feature , might not work old browsers.
w3c html 4.01 standard (from 1999) compliant, tabindex need positive.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

android - layout with fragment and framelayout replaced by another fragment and framelayout -