Posts Tagged “browsers”

Accessibility Problem with Gilder/Levin Image Replacement Method

Stephanie11th Aug 2008webdesign, , , , , , , , ,

I have a friend who lives his life in low contrast. He is frequently the inspiration I need to go the extra mile and find an accessible solution to a programing quandary. A few weeks ago I had the good fortune to get to visit him and we cruised around the internet while drinking Rusty Nails so I could walk in his shoes for a bit.

His computer is set up to use one of Windows XP’s high contrast colour schemes and he also makes use of IE’s ability to override a website’s CSS.

He started by showing me his university’s home page and complaining about the large black areas which (on my computer) corresponded to the header and main navigation. After a quick look at the code I got the sinking feeling I knew exactly what was happening, and a quick look at the BCIT home page confirmed it. IE7 was giving any elements with a background image defined a black background regardless of the background colour they were assigned in the element.

The Gilder/Levin method basically positions a span with a background image over top of the text you want to replace. In theory, if images are not being displayed the text beneath will show through the otherwise transparent span. IE gives these spans a black background even though they should be transparent.

The screen cap below show the BCIT home page, with the black areas corresponding to span tags using the Gilder/Levin method to place images. You can also see that we’ve changed all of IE7’s accessibility settings to white in an attempt to figure out which one is causing the change without success:

Accessibility Problem

I tried many things but nothing could be done with CSS to fix it. Considering most image replacement techniques use background images of one form or another I imagine the problem happens quite frequently. My friend was still able to navigate (albeit uncomfortably) by hovering his mouse over the navigation menus and reading the tool tips.

The moral of this story could be something about roads to hell and good intentions, but I think the real lesson here is that all accessibility testing should be done over Rusty Nails. Go buy yourself some Drambuie.

Delicious + FireFox + Snap Links

Stephanie27th Mar 2007webdesign, , , , , ,

I keep up on my favorite blogs and web comics by book marking them all in Firefox and then using the “open all in tabs” option that FireFox so nicely includes to open all the book marks at once. That way I can keep track of which ones I’ve read by closing them once I’m done :) Yeah, it’s lazy I know.

I’ve been wanting to have access to my bookmarks when I’m away from my home computer (who doesn’t) so I jumped on the del.icio.us band wagon a few days ago.

I hunted around for an add-on of some sort that would let me open all my delicious bookmarks in new tabs without much success. Turns out I was being too specific. Snap Links is a great add on that will let you select links on your screen by dragging the mouse over them, sort of the same way you’d select icons on your desktop. And it’s smart enough to only open the first link down in the HTML hierarchy, so with delicious you don’t open all the edit / delete links and with search engines you don’t open all the cached / similar pages links.

Edit: It kind of interferes with my mouse gestures if I’m not careful but it’s not that hard to avoid.