Accessibility and JavaScript
Tuesday March 17, 2009
JavaScript is best kept completely separate from your HTML
The original way that JavaScript was coded was to place script tags whereever in the page the JavaScript was needed with the JavaScript between the tags. Event handlers were coded directly into the tags that they applied to.
The modern way to code JavaScript is to place ALL of the JavaScript into a separate file and link that into your page using a script tag with a src attribute. This also has the effect of ensuring that the web page is still fully accessible to those without JavaScript.
So how do we make a start on making our web page more accessible with regard to our JavaScript?
Accessibility and JavaScript


No comments yet. Leave a Comment