CSS3 PIE Forums
http://css3pie.com/forum/

IE8 :focus for span div & img
http://css3pie.com/forum/viewtopic.php?f=6&t=2086
Page 1 of 1

Author:  Mike_947 [ Tue Jul 02, 2013 10:21 pm ]
Post subject:  IE8 :focus for span div & img

Hi,

I'm trying to use PIE to apply a border with a radius to a span on focus. The behavior I see is that I tab to the span (tabindex="0") but the focus style is not applied until I run the mouse across the span. Note I don't have to leave the mouse inside the span - i guess just entering the span is enough to trigger somthing.

On further inspection I noticed a ' focusableElements:' within the java script that does not include span. With the addition of span to the list of elements my focus style is applied as I would expect.

So 2 questions:
1. Is this a bug? The solution seems simple enough (add SPAN, IMG and DIV) to focusableElements
2. Is there an alternative that I should be using?

Cheers,

Mike

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/