Accessible maps

Posted on Sun 23 April 2006
A List Apart has an interesting article explaining how to build web pages containing highly graphical maps while still being accessible to the visually impaired. Lots of CSS trickery, but the result is there and is nice, when Google Maps or Yahoo! Maps are definitely not accessible.

Now have a look at the latest Dojo goodies: GoogleMap and YahooMap widgets! The good thing is not in the page (a classical mashup) but in the source. The map is just a 3-colums table with latitude, longitude and text, and an empty <div> with a dojoType attribute that starts the magic:
<div dojoType="googlemap" id="mapTest" datasrc="mapData"></div>
<table id="mapData">
      <td><div>This is the first place on the map.</td>
      <td><div>This is the second place on the map.</td>
      <td><div>This is the third place on the map.</td>
Easy, accessible, and fully interactive. Dojo rocks!

JBQ, alias "John Banana Qwerty"

Free Maven 2 book