Using Javascipt on a Website Can Create Problems
Search engines don’t read scripts, neither do some of the accessiblity tools used by your surfing challenged visitors.
There are several groups of people who do not use a mouse or pointing device to interact with Web pages. A few examples:
- Mobility impaired people who cannot use a mouse at all
- People with motor impairments who can use a mouse but lack fine motor control
- Screen reader users who do not use a mouse, or even a monitor
- People using mobile phones
- Laptop users, since most laptops have really bad trackpads or other means of positioning the cursor (ever tried using a hierarchical dropdown menu with a trackpad while riding on a train?)
- Speed typers who have learned to use keyboard navigation efficiently and are slowed down when they have to switch to their mouse (if they have one)
Also, some people surf the web with scripting totally turned off for security reasons or to save on bandwidth.
Turn on Scripting Error Notification
Internet Explorer Scripting Error Notification
To turn on scripting error notification in Internet Explorer:
- Left click Tools in the menu bar.
- Left click the Internet Options tab.
- Left click the Advanced tab.
- Under Browsing, find the option
“Display a notification about every script error”
If unchecked, then click in the checkbox to turn it on.
- Left click Ok at the bottom of the open dialog box and you are done!
Let’s look an example:
If you upload the form without checking it, how are you going to know it is being validated properly?
In comes, scripting error notification.
Scripting Error Notification
With scripting error notification turned on you will see a message from Internet Explorer that there was a scripting error. This message will tell you what line the error was in and what it thinks the error is.
Open up the script file (or web page if hard coded into the page), look for the line noted in the error, and fix it!
If you are going to go this route, test the script in your web page BEFORE uploading the page to a live situation. There’s nothing more annoying than going to a website that doesn’t work properly!
Some scripts may not work when testing locally on your computer e.g. Ajax requires server functionality. In this case, create a testing folder on your webspace (be sure to tell the search engine bots to please stay out) and upload the page/website there for testing.
A note to Internet Explorer users who have stricter security settings:
Copyright © 2005 - 2017 Web Page Mistakes. All rights reserved.
- Is Your Blog Accessible?
- Media Issues
- Browser Specific Design
- PHP Editor/IDE
- PopUp HTML Code problems in I.E.8
- HTML vs DW
- Creating a Website
- Website Design