keyboard accessibility of hidden contents using css and html only
问题 how can I make this snippet accessible? <div tabindex="0"> Show More <ul> <li><a href="#">Hidden Content</a></li> <li><a href="#">Hidden Content</a></li> <li><a href="#">Hidden Content</a></li> </ul> </div> CSS: div > ul {display:none;} div:hover > ul, div:focus > ul {display:block;} I wonder if it is possible to make <ul> visible also with keyboard navigation while focusing its contents http://jsfiddle.net/pJs2U/ 回答1: Update 2015 (thanks, @JayMee): The current (2015-05-29) Editor’s Draft