That's the problem, there isnt an accessibility API for the web, is there?
EDIT: At least not one that works without DOM