Making Accessible Websites for the United Nations

Scripts and Forms

No Client-Side Automatic Redirects

WAI Definition (Checkpoint 7.5)

Until user agents provide the ability to stop auto-redirect, do not use markup to redirect pages automatically.

Explanation

Do not automatically redirect pages with client-side technologies (technologies that should be executed by the browser). Such redirecting techniques include using the element or JavaScript.

Rationale

Automatically redirecting to a new page may be confusing for users who are not very familiar with using the Internet. Many people can feel lost because it takes the control over the navigation away from users. It is particularly disorienting for screen-reader users.

Furthermore, if the client-side technique for the redirect is not supported, the user may not be able to access the new content.

Technique

Validation

Test

Check the page code.

Success Criteria

There is no <meta http-equiv="refresh"> or JavaScript automatic redirect.