Understanding Accessibility

Guideline 11. Use W3C technologies and guidelines.

Checkpoint 11.2 - Avoid deprecated features of W3C technologies

How do I do it?

The following tags have been removed from HTML 4.0 and therefore should not be used: <applet>, <basefont>, <center>, <dir>, <font>, <isindex>, <menu>, <s>, <strike> & <u> (http://www.codehelp.co.uk/html/deprecated.html).

Several attributes have also been deprecated including

  • align (deprecated if used in <caption>, <iframe>, <img>, <input>, <object>, <legend>, <table>, <hr>, <div>, <h1..6>, <p>),
  • alink (deprecated if used in <body>)
  • background (deprecated if used in <body>)
  • bgcolor (deprecated if used in <table>, <tr>, <td>, <th>,<body>)
  • border (deprecated if used in <img>, <object>)
  • clear (deprecated if used in <br>)
  • compact (deprecated if used in <dl>, <ol>, <ul>)
  • height (deprecated if used in <td>, <th>)
  • hspace (deprecated if used in <img>,<object>)
  • language (deprecated if used in <script>)
  • link (deprecated if used in <body>)
  • noshade (deprecated if used in <hr>)
  • nowrap (deprecated if used in <td>, <th>)
  • size (deprecated if used in <hr>)
  • start (deprecated if used in <ol>)
  • text (deprecated if used in <body>)
  • type (deprecated if used in <li>, <ol>, <ul>
  • value (deprecated if used in <li>)
  • version (deprecated if used in <html>)
  • vlink (deprecated if used in <body>)
  • vspace (deprecated if used in <img>,<object>)
  • width (deprecated if used in <hr>, <td>, <th>, <pre>)

How do I check that it meets the WCAG criteria?

Each page can be initially tested for <font> and <center> using the Edit > Find tool in Dreamweaver as these are the most common. If a page does not have either of these tags the other tags will be checked. The presence of any deprecated language features will result in the page failing the check.

guideline 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14