Treasury Board of Canada, Secretariat - Government of Canada
Skip all menus Skip first menu
,  Français  Contact Us  Help  Search  Canada Site
     What's New  About Us  Policies  Documents  TBS Site
   Calendar  Links  FAQs  Presentations  Home
,
Chief Information Officer Branch
Information, Privacy and Security Policy Division
Common Look and Feel for the Internet
Accessibility
 Overview
You Are Here  Standard 1.1
 Standard 1.2
 Standard 1.3
 Standard 1.4
 Guidelines
 Accessibility
 Testing
Collaborative Arrangements
Cybersquatting
E-Mail
Important Notices
Navigation and Format
Official Languages
Internet Guide
Self-Assessment Guide
Toolbox
Return

Find Information:
by Subject [ A to Z ] by Sub-site
Versions:  
Print Version Print Version
Related Subjects:
Accessibility
Common Look and Feel
Design
Internet
Methodology
Feedback on Website
,
,

CLF for the Internet - Accessibility,


The new CLF 2.0 standards are available on the CLF 2.0 Web site.


  < Table of Contents > >>

Standard 1.1

All GoC Web sites must comply with W3C Priority 1 and Priority 2 checkpoints to ensure sites can be easily accessed by the widest possible audience.

Rationale

This standard is the key requirement for accessible design in the GoC. It points to an existing international standard: the Web Content Accessibility Guidelines 1.0 recommendation, from the World Wide Web Consortium (W3C).

The W3C checkpoints mentioned in the CLF standard are set out and defined in W3C's recommendation. That document explains the rationale behind each of fourteen basic guidelines for making Web sites universally accessible. Following each guideline are one or more actions that a page author must perform to meet the requirements of the guidelines. These actions are called "Checkpoints".

This CLF standard requires GoC Web sites to comply with Priority 1 and Priority 2 checkpoints.

,

Interpretation

[Priority 1]

A Web content developer must satisfy this checkpoint. Otherwise, one or more groups will find it impossible to access information in the document. Satisfying this checkpoint is a basic requirement for some groups to be able to use Web documents.

[Priority 2]

A Web content developer must satisfy this checkpoint. Otherwise, one or more groups will find it difficult to access information in the document. Satisfying this checkpoint will remove significant barriers to accessing Web documents.

W3C Checkpoints
Browser Testing

Top of Page

1.1 Best Practices

Absolute Pixel Size (February 2003)
Primary References for Accessible Web Site Design
Accessible On-line Forms
Cascading Style Sheets
Design for all input devices
Accessible pop-up windows and menus
Accessibility across platforms

Top of Page

Absolute Pixel Size

It is recognized that there are anomalies between the CLF Standards 6.1 and 6.2 and the W3C WAI Checkpoints 3.4 and 5.3. These CLF Standards dictate the use of absolute pixel measurement and tables for layout, while W3C WAI Checkpoints 3.4 and 5.3 respectively do not recommend the use of absolute units and tables for layout.

The original and ongoing rationale for requiring GoC Internet Web sites to be designed using absolute units for the table cell attributes of the common and institutional menu bars was to ensure that there is a consistent look of the design as well as a consistent placement of the primary navigation aids across all GoC Internet Web sites.

Within the CLF structured look, there remains the flexibility for scalability of the textual elements making up these primary navigation aids, thereby achieving the accessibility objectives of the W3C WAI checkpoints as well as, to the greatest extent possible, the goals of the Common Look and Feel Standards.

Top of Page

Primary References for Accessible Web Site Design

Associated with, and considered an integral part of the W3C Web Content Accessibility guidelines are a set of supporting documents and tools.

These are the primary references for Accessible web site design:

  • Techniques for Web Content Accessibility Guidelines 1.0
    The Techniques document is an invaluable source for examples, code and explanations of how to implement each of the checkpoints. Every checkpoint in the Guideline document links to a corresponding example in the Techniques document.
  • The list of known errors in the Guidelines
    As the W3C recommendation is a published "standard", changes to the original work are not permitted. Any errors corrections or clarifications to the original that have been necessary are recorded in the Errata document.
  • Checklist of Checkpoints for Web Content Accessibility Guidelines 1.0
    The checklist of checkpoints is a good tool for page designers or Web masters to use to identify problem areas in their design and record any actions taken. This document is presented in a tabular format, which may be inaccessible to some people. A more accessible version of the checklist is also available.
  • Curriculum for Web Content Accessibility Guidelines 1.0
    The Curriculum is a self-study guide to the W3C Web Content material. Like the Techniques document, the Curriculum includes examples for many of the checkpoints, but the Curriculum attempts to make the examples easier to understand, and where possible, shows the results of using such techniques on a Web page.

Because of the scope and completeness of these resources, this CLF Web site will not duplicate or reinvent all of the examples found therein. However, there are certain aspects of the CLF design that will benefit from the application of specific techniques, and those are presented on the following pages.

The application of standards and consistent use of accessible design techniques will enable the GoC to achieve its goal of connecting all Canadians.

Top of Page

Accessible On-line Forms

HTML forms are not, in and of themselves, inaccessible. What the programmer / page author does with them determines the accessibility of the end product.

Elements of an inaccessible form:

  • Complex visual layout and placement of controls and fields
  • Badly explained requirements
  • Field / control labels separated from and not clearly associated with their controls
  • Client-side scripting to perform entry validation or completion
  • No alternative method of posting information provided (e.g. no e-mail contact provide, no phone number to call for help, etc.)

Elements of an accessible form:

  • Simple (e.g. single column) layout of controls and entry fields
  • clear (meaningful) explanations or labels associated with fields and controls
  • appropriate use of HTML markup specifically intended to enhance accessibility (e.g. LABEL, OPTGROUP, etc.)
  • server-side verification and validation of data entry
  • provision of alternate methods of contact / submission

All of the oldest assistive technologies can handle well designed HTML forms. The trick is to get page designers to keeps forms simple and to avoid client-side entry verification and processing.

Top of Page

Cascading Style Sheets

Most organizations are coding font effects using deprecated <FONT> codes, and worse, are fixing pixel or point sizes for text in the markup or in associated style sheets. This prevents text from scaling under user's control. Fixing font sizes with absolute units impacts persons with low vision and people who prefer to use screen resolutions other than the common 640x480 or 800x600.

Solution: Use Cascading Style Sheets

  • Style sheets were designed to allow precise control - outside of markup - of character spacing, text alignment, object position on the page, audio and speech output, font characteristics, etc.
  • By separating style from markup, authors can simplify and clean up the HTML in their documents, making the documents more accessible at the same time.
  • CSS allows precise control over spacing, alignment and positioning. Authors can thereby avoid "tag misuse" - the practice of misusing a structural element for its expected stylistic effects. For example, while the <BLOCKQUOTE> and <TABLE> elements in HTML are meant to mark up quotations and tabular data respectively, they are frequently used to create visual effects instead such as indentation and alignment. When specialized browsing software such as a speech synthesizer encounters elements that are misused in this way, the results can be unintelligible to the user.
  • In addition to preventing element misuse, style sheets can help reduce image misuse. For instance, authors sometimes use 1-pixel invisible images to position content. This not only bloats documents, making them slow to download, but can also confuse software agents looking for alternative text (the "alt" attribute) for these images. CSS positioning properties mean that invisible images are no longer required to control positioning.
  • CSS provides precise control over font size, color, and style. Some authors have used images to represent text in a particular font when they are uncertain of the availability of the font on the client's machine. Text in images is not accessible to specialized software such as screen readers, nor can it be cataloged by search robots. To remedy this situation, the powerful WebFonts of CSS allows users much greater control of client-side font information. With WebFonts, authors can rely on fallback mechanisms on the client when the author's preferred fonts are not available. Fonts can be substituted with more accuracy, synthesized by client software, and even downloaded from the Web, all according to author specification.
  • CSS allows users to override author styles. This is very important to users who cannot perceive a page with the author's chosen fonts and color. CSS allows users to view documents with their own preferred fonts, colors, etc. by specifying them in a user style sheet.
  • CSS provides support for automatically generated numbers, markers, and other content that can help users stay oriented within a document. Long lists, tables, or documents are easier to navigate when numbers or other contextual clues are provided in an accessible manner.
  • CSS supports aural style sheets, which specify how a document will sound when rendered as speech. Aural style sheets (or "ACSS" for short) allow authors and users to specify the volume of spoken content, background sounds, spatial properties for sound, and a host of other properties that can add effects to synthesized speech analogous to those achieved with styled fonts for visual output.
  • CSS provides more precise control over the display of alternative content than HTML alone. CSS2 selectors give access to attribute values, often used to provide alternative content. In CSS2, attribute values may be rendered in a document along with an element's primary content.

This and more information regarding Style Sheets.

Top of Page

CSS Implementations

Widely deployed browsers do not implement CSS consistently. However, the latest generation of browsers from a number of vendors demonstrates solid implementations of most of CSS1 and much of CSS2, and implementations continue to improve.

Part of designing an accessible document with CSS involves ensuring that the document remains accessible when style sheets are turned off or not supported.

Until most browsers support CSS consistently, content developers may still create accessible documents that mix supported features of CSS with some presentation features of HTML. Documents that use HTML presentation features instead of CSS must transform gracefully. For example, tables used for layout must make sense when rendered serially.

Top of Page

Design for all input devices

Use features that enable activation of page elements via a variety of input

http://www.w3.org/WAI/wcag-curric/chk10-0.htm

Device-independent access means that the user may interact with the user agent or document with a preferred input (or output) device - mouse, keyboard, voice, head wand, or other. If, for example, a form control can only be activated with a mouse or other pointing device, someone who is using the page without sight, with voice input, or with a keyboard or who is using some other non-pointing input device will not be able to use the form.

Note: Providing text equivalents for image maps or images used as links makes it easier for users to interact with them without a pointing device.

Generally pages that allow keyboard interaction are also accessible through speech input or a command line interface.

Top of Page

Design for Device-independence

W3C Checkpoint 9.3 - For scripts, specify logical event handlers rather than device-dependent event handlers.

An event-handler invokes a script when a certain event occurs (e.g, the mouse moves, a key is pressed, the document is loaded, etc.). In HTML 4.0, event handlers are attached to elements via event handler attributes (the attributes beginning with "on", as in "onkeyup").

What happens when an event occurs depends on the script the page author has created. Some produce purely decorative effects such as highlighting an image or changing the color of an element's text. Others produce much more substantial effects, such as carrying out a calculation, providing important information to the user, or submitting a form. For scripts that do more than just change the presentation of an element, content developers should do the following:

Use application-level event triggers rather than user interaction-level triggers. In HTML 4.0, application-level event attributes are "onfocus", "onblur" (the opposite of "onfocus"), and "onselect". Note that these attributes are designed to be device-independent, but are implemented as keyboard specific events in current browsers.

Otherwise, if you must use device-dependent attributes, provide redundant input mechanisms (i.e., specify two handlers for the same element):

  • Use "onmousedown" with "onkeydown"
  • Use "onmouseup" with "onkeyup"
  • Use "onclick" with "onkeypress"
  • Note that there is no keyboard equivalent to double-clicking ("ondblclick") in HTML 4.0

Examples: http://www.w3.org/WAI/wcag-curric/sam71-0.htm

Top of Page

How to make pop-up windows accessible

To make your pop-up windows accessible to people who do not use a mouse to navigate, add the event triggers "onFocus" and "onBlur" to make the effect available to keyboard users.

Please note that client-side scripted pop-up windows may be partly or totally inaccessible to some users. Some users of screen-readers may be unaware that new windows have appeared, or may be confused by their sudden appearance. Also, people who have disabled script support or whose browsers do not support scripting will not "get the message". Where practical, use accessible server-side techniques to provide important messages.

Top of Page

Examples of how to create accessible menus

"Drop-down" or "rollover" menus created with client-side scripting can be made accessible to browsers that don't support client side scripting by adding a <NOSCRIPT> block that duplicates the content or functionality of the scripted menu. As well, you must ensure that the event-trigger you use is device independent.

In this example taken from a main English page, the code is extracted from the "Newsroom" button on the site. Additional event triggers were not added to provide an example of the use of the NOSCRIPT block. 

How to: The URL's and link-text are simply copied and pasted from the script declaration on the page, then added as plain HTML (UL list) to a NOSCRIPT block in the table cell containing the button:

<TD>

<A onmouseover="movepic('buttonNewsroom','/images.nsf/vLUImages/
WebHeaderEnglish/$file/top_nav_yellow_newsroom1.GIF'),popUp('elMenu6',event)" onmouseout="movepic('buttonNewsroom','/images.nsf/vLUImages/
WebHeaderEnglish/$file/top_nav_yellow_newsroom.GIF'),popDown('elMenu6')"
href="http://www.acdi-cida.gc.ca/newsro-e.htm">
<IMG alt=Newsroom src="Home_files/top_nav_yellow_newsroom.gif"
border="0" name=buttonNewsroom></A>

<noscript>
<ul>
<li><a href="/newsro-e.htm">Update-Main page</a><br></li>
<li><a href="/_ind.nsf/852562900065549d85256228006b10c0?
OpenView&Start=1&Count_00&Expand=1#1">News Releases</a><br></li>
<li><a href="/_ind.nsf/852562900065549f85256228006a0064?
OpenView&Start=1&Count_00&Expand=1#1">Speeches</a><br></li>

<li><a href="/publications-e.htm">Publications</a><br></li>
<li><a href="/newsflash.htm">News flash</a><br></li>
<li><a href="/comingevents.htm">Coming events</a><br></li>
<li><a href="/issues-e.htm">Major global issues</a><br></li>
<li><a href="/archives-e.htm">update archive</a><br></li>
<li><a href="/media-e.htm">Multimedia</a><br></li>
<li><a href="/_ind.nsf/subscribe-e">Subscribe</a><br></li></ul>
</noscript>

</TD>

  • This was tested with a non-JavaScript browser (Lynx) and Netscape (4.6) with Javascript disabled and functions correctly.
  • The page looks odd in Netscape with Javascript off, but the functionality is available to users.
  • The <NOSCRIPT> block is ignored (and not displayed) by IE (5.5) and Netscape (4.6) with Javascript enabled.

Here is more information on how to implement accessible pop-up menus on your pages.

Top of Page

Accessibility across platforms

To ensure accessibility across platforms:

  • make sure that a list of links similar to the one in the pull-down menu (or <NOSCRIPT> block) is available on the destination page of the main link.
  • In other words, be sure that the pull-down menu (and <NOSCRIPT> block) is not THE ONLY way to get to the sub-links.

The reason: Graphical browsers that support scripting may never see the pulldown menu because assistive technologies do not recognize it and it may never see the <NOSCRIPT> alternative because it is not made available by script aware browsers.


  < Table of Contents > >>
  ,
 Return to
Top of Page
Important Notices