3.3 Do not use deprecated features of W3C technologies
The New Zealand Web Standards 2.0 were released in March 2009 and replace the previous version, the New Zealand Government Web Standards 1.0 (below). See Meeting the standards for more information.
The Standard
3.3 Do not use deprecated features of W3C technologies.
Guide to this Standard
The World Wide Web Consortium (W3C) is responsible for standardising Web technologies such as HTML, CSS, SVG, MathML. Deprecated features of these technologies are those that have been declared obsolete by the W3C, and will in time be phased out from devices that interpret them i.e., browsers.
This standard requires you to avoid deprecated features and to use recommended non-deprecated alternatives instead.
This standard covers the W3C WAI checkpoint 11.2 for NZ government agencies.
Note at the above sites, the elements and attributes are themselves hyperlinks. Selecting these will direct to the detail of the selected element or attribute. If deprecated, it will say so and suggest an appropriate alternative.
Rationale for this Standard
- Using deprecated features, e.g. deprecated HTML elements or attributes, will not stop the HTML validating against current doctypes. However, it will stop HTML validating against future doctypes in which the phasing out is complete. Avoiding deprecated HTML in the first place, prevents you from spending time and money down the track, fixing HTML that has now become obsolete, or ending up with accessibility issues because your HTML no longer validates.
