Skip to main content

TJ VanToll

Member since Mar 21, 2014

Recent Blog Comments By TJ VanToll

  • Using Transparent Select Menus To Create Styled Menu Roots

    Posted on Mar 21, 2014 at 10:47 AM

    @Ben Elements with display: none applied are invisible to screen readers. To hide elements from sighted users and keep them accessible to assistive technologies, you need a replacement technique such as http://www.zeldman.com/2012/03/01/replacing-the-9999px-hack-new-image-replacement/. Screen re... read more »

  • Using Transparent Select Menus To Create Styled Menu Roots

    Posted on Mar 21, 2014 at 9:21 AM

    Actually I was able to get the focus styling to work without any JS: http://jsbin.com/lolup/4/edit. That seems to work pretty well on VoiceOver on OS X as well.... read more »

  • Using Transparent Select Menus To Create Styled Menu Roots

    Posted on Mar 21, 2014 at 9:14 AM

    fyi from an a11y perspective there are a number of problems with this approach. This menu is invisible to a screen reader and cannot be accessed by the keyboard. You can get most of the way by using a <label> element with a tabindex="0" attribute. This allows the label to re... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel