+1  A: 

What you might be seeing are different browser implementations of how a checkbox is highlighted when it has focus.

Which particular browser were you referring to?

In FireFox, a highlighted checkbox has a slight orange border with a very faint dashed line.

IE6 seems to give no indication when a checkbox has focus, only when you hover over it do you get a visual cue that it is checkable (slight orange border).

Russ Cam
Everything done above was IE7, which supports some form of checkbox outline (as shown in the SS). I'll have to double-check which IE we're supposed to be officially supporting. If it's IE6, maybe this isn't even something I need to be worrying about.
Ross
A: 

I don't have IE7 but try this... (works in IE6 running with Wine)

<script type="text/javascript">
    function doIt(){
        document.getElementById("theButton").blur();
        document.getElementById("theCheckbox").focus();
    }
</script>

<input type="button" id="theButton" onClick="doIt()" value="Push Me">
<br/>
<input type="checkbox" id="theCheckbox">
Pedro Ladaria
@Pedro - must be the wine, calling blur on theButton before focus still yields no focus visual cue in IE 6
Russ Cam
On wine i get the dots...
Pedro Ladaria
look at this screenshot: http://img503.imageshack.us/img503/9458/pantallazo1m.png
Pedro Ladaria
@Pedro- did you press <kbd>Tab</kbd> at all during your test?
Russ Cam
yes, of course... ¬¬
Pedro Ladaria
As it looks like you guys have already found, this only works when pressing tab to instantiate (for lack of a better term) the dotted focus outline
Ross
+1  A: 

I tried to duplicate this error and I was able to, but I also noticed something else.

If I first tab-selected any element on the page (i.e., not necessarily the checkbox) and then clicked the button, the focus highlight worked as expected.

This really makes me believe that this is a browser issue you probably can't get around.

Peter Bailey
Which brings up the question, any way I can simulate the tab select action in IE7?
Ross