TIP 95 Use NOSCRIPT tagsSome pages still look perfectly okay without Javascript, perhaps some validations may not be performed before processing a form or some dynamic feature may remain static but the page itself is still perfectly usable without Javascript. Some pages are so reliant on Javascript that there is no point in having visitors who don't have Javascript visit the page at all. There are a number of pages that fall somewhere in between. They are still reasonably usable without Javascript but don't look or function quite as nicely as they ought to. In many cases you could fix these pages by just including a few extra pieces of HTML in place of those that would have been generated by the Javascript code. Of course if you add them to the page and Javascript is enabled this would mess up our page in that situation. You need a way to tell the browser to only include the code when Javascript is not enabled. The noscript tag is just what you need to achieve this. You just place the code that you want to display when Javascript is not supported between noscript tags and the enclosed code will only be included in browsers that either don't recognise script or noscript tags (and therefore ignore both tags just displaying what is between them instead) or which recognise the tag and also identifies that Javascript has been turned off.
|
The most popular pages in the Hobo Accessibility 101 Archive (by visit).
Hobo primarily operates in the following areas;
Telephone 0845 094 0839
FAX 0845 868 8946