|
|
ScriptingScripts that are OK, and those that are
a problem Scripting is often used by web-designers to create dynamic material on the web page. For instance, menus that open when the mouse hovers over them, change colors, dynamic links, etc. are created with scripting. Usually JavaScript is used. Scripts that are OKSome scripts are OK. Javascript is sometimes used to make a button change to appear indented, or to change the color of the words in a hyperlink when the mouse is moved over the image. As long as the CONTENT of the image or hyperlink does not change, this type of scripting is appropriate. For instance, if the image contains the word "Home" and when the mouse hovers over the word it changes color, but still says "Home", this requires no special modification for accessibility.
Some JavaScript is not OK without work to make it accessible. If you JavaScript has menus that expand and reveal new information or change the content, you will need to make an accessible version of that menu or content in the <NOSCRIPT> section of your page. ResourcesTrace Center's Accessible JavaScript page WebAIM Tutorial on Accessible JavaScript & DHTML |
|
|
|