--- url: "https://webaim.org/techniques/ajax/alternatives" titulek: "WebAIM: Accessible JavaScript - JavaScript Alternatives" h1: "Accessible JavaScriptJavaScript Alternatives" popis: "" jazyk: "en" kanonicka: "" drobecky: ["You are here:", "Home", "Articles", "JavaScript"] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-15 06:36:36" znaku: 3792 slov: 550 kodovani: "utf-8" sha256: "ad4f71af9e679caf804d011bff2111e26f9a8d69948a866f2433ad147925eb6b" --- # Accessible JavaScript JavaScript Alternatives You are here: [Home](/) > [Articles](/articles/) > [JavaScript](./) > Page 4: JavaScript Alternatives ## Introduction Whenever JavaScript-enabled content or interactions cannot be made directly accessible, an accessible alternative must be provided. There are several ways you can provide accessible alternatives when the scripting cannot be made accessible or when the end user does not have JavaScript enabled. ## Server-side Processing In many cases, the functionality provided by JavaScript can or should be duplicated by server-side scripting. For example, JavaScript is often used to validate form elements before a form is posted. Instead of or in addition to implementing such JavaScript programming and its accompanying accessibility techniques, you could use a server-side script to validate the form elements. Because scripting can always be disabled or modified by the end user, it should never be relied on for critical form validation or other functions. JavaScript is often used to write dynamic information to a web page, such as the current date and/or time. Again, using a server script negates the need for additional accessibility implementation. ## Progressive Enhancement [Progressive enhancement](https://developer.mozilla.org/en-US/docs/Glossary/Progressive_Enhancement) is the technique of using scripting to enhance the functionality or behavior of content and functionality that is already sufficient without scripting. An example might be adding client-side [form validation and error recovery](/techniques/formvalidation/) to a form that already has server-side validation. The form still functions fine without scripting, but the scripting progressively enhances the form to make it more usable and accessible. This is an excellent approach to developing accessible scripted interfaces—first start with accessible markup and core HTML (and perhaps server-side) functionality, then add accessible scripting to make it more efficient, friendly, and accessible. ## `