Results of browser testing for when elements take the focus
no tabindex tabindex 0 tabindex -1
fields links editable plain fields links editable plain fields links editable plain
Opera 12 / Mac (with full keyboard access) keyboard Y1 S1 Y1 N Y1 Y1 Y1 Y1 S1 S1 N N
mouse Y1 Y0 Y0 N Y1 Y0 Y0 Y0 Y1 Y0 Y0 Y0
Opera 12 / Win7 keyboard Y1(e) S1 Y1 N Y1(e) Y1 Y1 Y1 S1 S1 N N
mouse Y0(f) Y0 Y0 N Y0(f) Y0 Y0 Y0 Y0(f) Y0 Y0 Y0
Firefox 4,8,14,22 / Mac (with full keyboard access) keyboard Y1 Y1 Y1 N Y1 Y1 Y1 Y1 N N N N
mouse A1 Y1 N A1 Y1 Y1 A1 Y1 Y1
Firefox 22 / Win7 keyboard Y1 Y1 Y1 N Y1 Y1 Y1 Y1 N N N N
mouse (d) N (d) (d)
Firefox 3.6 / Mac (with full keyboard access) keyboard Y1 Y1 Y1 N Y1 Y1 Y1 Y1 N N N N
mouse Y1 Y1 Y1 N Y1 Y1 Y1 Y1 Y1 Y1 Y1 Y1
Chrome 28 / Mac (with full keyboard access) keyboard Y1(a)(b) Y1 Y1 N Y1(a)(b) Y1 Y1 Y1 N N N N
mouse B1(b) N Y1 N B1(b) Y1 Y1 Y1 B1(b) Y1 Y1 Y1
Chrome 28 / Win7 keyboard Y1 Y1 Y1 N Y1 Y1 Y1 Y1 N N N N
mouse B1 N Y1 N B1 Y1 Y1 Y1 B1 Y1 Y1 Y1
Safari 5 / Mac (with full keyboard access) keyboard Y1 Y1 Y1 N Y1 Y1 Y1 Y1 N N N N
mouse C1 N Y1 N C1 Y1 Y1 Y1 C1 Y1 Y1 Y1
IE10 / Win7 keyboard Y1 Y1 Y0 N Y1 Y1 Y1 Y1 N N N N
mouse Y1(c) Y0 Y0 N Y1(c) Y0 Y0 Y0 Y1(c) Y0 Y0 Y0
IE8 / WinXP keyboard Y1(g) Y1 Y0 N Y1(g) Y1 Y1 Y1 D1 N N N
mouse Y1(g) Y1 Y0 N Y1 Y1 Y1 Y1 Y1(g) Y1 Y0 Y0
Key to the letter-codes used in the previous table
Y elements take the focus
N elements do not take the focus
S elements can only take the focus via spatial navigation (in Opera)
A all types of field take the focus except radio, checkbox, or either type of button (unsupported color and range behave as text)
B all types of field take the focus except radio, checkbox, either type of button, color, or range
C all types of field take the focus except radio, checkbox, either type of button, or range (unsupported color behaves as text)
D only radio fields take the focus
1 browser always shows native focus indication (and form fields and editable elements also have a cursor)
0 browser never shows native focus indication (but form fields and editable elements still have a cursor)
½ browser only shows native focus indication if Tab has been used this page session
(a) all types of field show native focus indication except range
(b) date and time fields (all variants) retain native focus indication even after they've blurred
(c) all types of field show native focus indication except radio, checkbox, either type of button, and range
(d) either type of button shows partial native focus indication even if Tab has not been used this page session
(e) text, textarea, and number fields only show native focus indication if spatial navigation is used
(f) selects and either type of button do show partial native focus indication
(g) text and textarea fields do not show native focus indication