Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Safari ignoring tabindex

I have 2 buttons next to a textbox and another textbox after the 2 buttons. The tabindex for the first textbox is 1000, the first button is 1001 and the second button is 1002. The second textbox has a tabindex of 1003.

When I press tab, the tabindex works fine in all browsers except for Safari, where it immediately moves from the first textbox to the second textbox although the tabindex has been set properly. Any ideas on how to prevent this issue?

like image 365
DLS Avatar asked Dec 04 '09 17:12

DLS


People also ask

Can t tab through on Safari?

By default tab-access is disabled in safari(!). To enable it, check "Preferences > Advanced > Press tab to highlight each item on a page".

What does Tabindex 0 mean?

tabindex="0" means that the element should be focusable in sequential keyboard navigation, after any positive tabindex values and its order is defined by the document's source order.

Is Tabindex inherited?

Passed tabIndex is not inherited and added to element of Checkbox.


1 Answers

By default tab-access is disabled in safari(!). To enable it, check "Preferences > Advanced > Press tab to highlight each item on a page".

like image 168
graphicdivine Avatar answered Oct 13 '22 06:10

graphicdivine