| Home | Site
TOC | Site Search | Technology |
JAVA and JavaScript Accessibility
- JAVA is a programming language developed by Sun.
- JavaScript is a client-side scripting language for use on web pages.
- They are NOT related!
JAVA on the backend.
JAVA applications within webpages: Accessibility
Dependencies (the following conditions must be met)
JAVA Accessibility Resources
JavaScript Accessibility
Regarding JavaScript and accessibility, there are two myths:
- Using any JavaScript at all means that your site is inaccessible.
- It's impossible to build a modern site without JavaScript, so it's just
Too Bad For Accessibility.
Neither of these myths are true. As happens so often, the truth lies in the
middle (Thanks to Quirksmode.org).
Why Use Accessible JavaScript
- Google wants to follow links to find and index more content, but it can't
follow "
javascript:" links, because it doesn't execute Javascript
code as it indexes the web.
- 508 and WCAG require that the functionality and content of scripts be accessible
to assistive technologies such as screen readers. Additionally, users must
be given control over time-based content changes. There are, however, differences
between the two accessibility guidelines.
- WCAG requires that content and functionality be accessible with scripting
disabled and that users should be alerted if JavaScript changes the appearance
or functionality of the browser window, whereas...
- Section 508 only requires that the scripting be made accessible or
that an accessible alternative is provided. That is, the scripts themselves
must be natively accessible. (NOSCRIPT as a last resort, and ONLY works
if JavaScript is turned off).
Accessibility Problems with JavaScript
- Event
Handlers or Device independence with JavaScript: If you use...
- Fly-Over/Drop-Down Menus
- Form Validation
- Always backup with server-side validation!
- Wait until submission to validate.
- Never auto-submit!
- Pop-up windows
- Never use unrequested popups!
- Warn user on requested popups.
- Use real
href value.
- Verify new window.
JavaScript Accessibility Resources
![[ Search ]](../images/tsbserch.gif)
Agency Contact Information | Texas
State Homepage | Texas State
Wide Search
Please complete the comment form or send comments
and suggestions to: Jim Allan (Webmaster-Jim
Allan)
Last Revision:
August 9, 2006
Author: Jim Allan, TSBVI