Technology

Web-pages have two main components:

  •             A static, HTML document which the web-site sends to your web-browser
  •             Javascript programs which the web-site sends along with the HTML

When the HTML arrives in the browser it forms the foundations of  a web-page.

The browser will then start the javascript programs running, and these will add features and content to the webpages before the user is shown the page, and while the user interacts with the page.

Accessibiity features which users benefit from may originate in the HTML, the javascript or a combination of both.

Our accessibility services for websites can implemented new accessibility features in the same ways, either by:

  • Changing the website sofware to produce augmented HTML, or
  • Adding  javascript which will augment the web-page, or
  • A combination of both.

When building a new website, some accessibility features are best inserted into the HTML, but when improving an existing site it is often more straightforward to have javascript provide the accessibility features.

And, if we want to add accessibility features directly as a service to the user, we use the javascript delivery mechanism

For example:

A form on the webpage has various inputs and has some error detection on user entry.

When the web-page’s javascript detects a user entry error, and displays a warning, an accessible mechanism must be present to alert the non-visual user.

Typically, the labels will arrive in the browser as part of the HTML, while the error alert mechanism must, necessarily, be provided by the javascript.

But, both sets of accessibility features could be implemented in javascript. And, if the labels have been mistakenly omitted in the HTML, then correcting that situation will often prove much, much simpler with the use of javascript.