Skip Links  

Web Standards for Accessibility and Style

Introduction: Why Standards?

Web standards are essentially Web technologies, recommended by the World Wide Web Consortium (W3C) and other groups and standards bodies, for creating and interpreting Web-based content. Standards are designed to deliver the greatest benefit to the greatest number of Web users and user agents, while ensuring the long-term visability of any document published on the Web.

The advantages of standards-based Web design are numerous:

Markup (Structural) Languages: The Road to XML

Marking up text is a methodology for encoding data with information about itself, based on a standard to define what a valid markup is, and a standard to define what the markup means. Think about HTML: it defines a set of tags and the rules for displaying text.

Historical background

DOCTYPE

There are various structural languages out there on the Web. Use the correct DOCTYPE (short for "document type declaration") to tell the validator which version of (X)HTML you're using.

CSS (Cascading Style Sheets)

As a tool for academia to facilitate communication among scientists, engineers, and others, the original purpose for HTML was to provide a means of presenting textual information through a computer monitor over a network. It was never intended to be a means of giving style to a Web page.

Today, the World Wide Web is vastly different from the original concept. Presentation is a very important part of document design. One of the movements of HTML 4.01—and Web design in general—is the separation of presentation (layout) and content (textual information). Style sheets facilitate this separation by enabling you to control the way a page is laid out and viewed in a browser. Another movement is towards open standards of code, which enable Web pages to be read on various platforms and devices. View CSS2 specification.

Modern Browsers

Web standards are best supported by "modern" browsers, that is, standards-compliant browsers, such as Firefox 1.5 (download Firefox) and Opera 9.0 (download Opera).

Liquid Design

Liquid design means that the Web page adapts itself to the available space, the same way water takes the shape of the glass it is in. Liquid design is used in order to make Web pages more accessible and user-friendly without the use of tables.

Media Types

The CSS2 standard enables you to apply different style sheets, depending on the agent or device that renders your document. For example, you can have one style sheet defining screen styles, and another for print styles. There are seven different media types. Get the W3C specification on media types.

Get a table charting relationships between media types and media groups.

Get a copy of the screen, print, and aural style sheets for Lib 212.

Validators

Run your pages through W3C validators to make sure that your document is well-formed and compliant.

W3C (X)HTML validator. http://validator.w3.org/

W3C CSS validator. http://jigsaw.w3.org/css-validator/

Accessibility Checkers

Run your pages through accessibility checkers to ensure the code complies with the recommendations of W3C's Web Access Initiative (http://www.w3.org/WAI).

Checklist for Good Coding Practices

From Max Design

Additional Links

CSS

Liquid design

Valid DOCTYPES

Web Standards

http://homepage.mac.com/mwhite11/standards/index.html