How to skip focus in HTML
These days I am working on providing accessibility support for our company product. One of the requirement was to skip tabbing of unwanted links and images for the page. I used following technique:-
In HTML we have an attribute called "tabindex". This attribute can be used to decide tab order for controls like buttons, textboxes, links, checkboxes etc. If we want any control not to be focused we should set this attribute value to "-1" (minus one).
I will be posting more techniques here watch out..
Happy learning....
In HTML we have an attribute called "tabindex". This attribute can be used to decide tab order for controls like buttons, textboxes, links, checkboxes etc. If we want any control not to be focused we should set this attribute value to "-1" (minus one).
I will be posting more techniques here watch out..
Happy learning....