In order to display content using the :focus state when the parent element has focus, I have used the following CSS code:
.child { display: none; }
.parent:focus .child { display: block; }
It's important to note that the parent element has tabindex="0" set. I am wondering if there is a way to make this work in iOS browsers without using javascript. Can a CSS-only solution be implemented?
You can view a simplified version of this setup on JSFiddle here: http://jsfiddle.net/E8zCU/