Stephen Philbin
08-15-2004, 01:05 PM
Hi folks. Just been siffing around the DOM tree to see what fruits it may bear and was struck by a most disconcerting thought. The javascript DOM API (I'm guessing that's the correct name which I should refer to it by) appears to be the only one capable of resizing elements and altering content after the page has been rendered. Personally I consider flash to look rather cheap and tacky, so I rather liked the idea of being able to use a standards compliant method of coding that would allow me to do such things with my pages. Then I got that horrible thought. If it's javascript based, then that would mean that it can not only be turned off, but would contravine accessibility laws and guidelines, would it not?
The thing I was rather looking foward to using the DOM for was to have several partial news stories listed and have the user be able to click the desired story and the column shrink to almost 0 height, then expand back to original height with the desired article now inside it. But if someone disables javascript, then it'd all go "a bit wrong" to say the least, am I right? Would a screen reader be able to use the DOM too? So that it could see the change in page content and read that to the user? or for every such page that implements the DOM in such a dependant role, would I have to make an entirely seperate page for accessibility?
It would seem such a waste to see such a potentially exciting part of web design get thrown out the window because it doesn't work with users with extra needs or have javascript disabled.
Anyone care to discuss or advise on the subject?
The thing I was rather looking foward to using the DOM for was to have several partial news stories listed and have the user be able to click the desired story and the column shrink to almost 0 height, then expand back to original height with the desired article now inside it. But if someone disables javascript, then it'd all go "a bit wrong" to say the least, am I right? Would a screen reader be able to use the DOM too? So that it could see the change in page content and read that to the user? or for every such page that implements the DOM in such a dependant role, would I have to make an entirely seperate page for accessibility?
It would seem such a waste to see such a potentially exciting part of web design get thrown out the window because it doesn't work with users with extra needs or have javascript disabled.
Anyone care to discuss or advise on the subject?