Javascripts and Java Applets
Accessibility Statement: If you use scripts or applets
View an accessible page using scripts or applets
View an inaccessible page using scripts or applets
Ensure that pages are accessible with scripts turned off or in browsers that don't support scripts.
ÂIf you include applets in your document, use the OBJECT tag and provide a text equivalent in the content of the element.
ÂIf an applet requires user interaction that doesn't translate to an alternate format, make the applet directly accessible. IBM has published guidelines for writing accessible JAVA applications. Sun also has published information on JAVA accessibility. You will need the appropriate JFC 1.1 or Java 2 release, you should also have the corresponding accessibility utilities.
ÂUse links to HTML documents not to "javascript". Links such as <A href="javascript:">...</A> won't allow a browser not using scripts to create the link content.
ÂUse the NOSCRIPT tag to present alternate information.
ÂScripts that are invoked when an event, such as a mouseover, occurs are called event handlers. If the event handlers do more than just change the graphic presentation for decorative purposes, you should use application level event triggers (such as the ONFOCUS or ONSELECT attributes) rather than event level event triggers(such as the ONMOUSEDOWN or ONCLICK attributes).
ÂIf you must use device dependent attributes, use redundant input mechanisms (ONKEYDOWN with ONMOUSEDOWN for instance).
ÂCheck accessibility by viewing your page in multiple browsers and platforms, then verify it with tools like CAST's on-line BOBBY verification tool.
Read the relevant W3C guideline --Â 1.1Â 6.2Â 6.3
Return to the checklist
Adapted with permission from web accessibility pages at Penn State