Show More
CSS:
div > ul
{display:none;}
div:hover > ul, div:focus > ul
{display:block;}
I wonder if it is possible to make `- ` visible also with keyboard navigation
while focusing its contents
http://jsfiddle.net/pJs2U/
No,
tabindex
minimum value is 0
: you are talking about -1
, which means "not focusable". Also, I'm not navigating away. I'm still in the focused tree. I thought :focus
worked like :hover
, where you :hover
an element as you are :hover
ing its parent tree as well. :focus
is enabled on target and on target only