Hmm. Most of that article was written (in one form or another) by
Pamela Fox. That particularly applies to the keyboard switcher, which
first appeared in the Version 2 Group.
Here's a V2 example of keyboard accessibility, such as it is:
http://www.acleach.me.uk/gmaps/keyboardhandler.htm -- you can tab to
the links and then use the keyboard to control the map (arrow keys and
+ and - I think). Unfortunately the only way to click the map is with
the mouse.
I haven't tried anything with Version 3 though.
I tried these functions:
function setKeys() {
var event = {srcElement: mapContainer, target: mapContainer, nodeType: 1};
google.maps.event.trigger(document, "click", event);
}
function noKeys() {
var event = {srcElement: body, target: body, nodeType: 1};
google.maps.event.trigger(document, "click", event); }
There is a surprisingly small amount of information on the web about v3 implementation of your code.
I was able to use the trigger to activate the click event of a marker but not the map in general. Maybe the syntax is different in v3.
Would the v3 implementation use the same syntax?