Creating Accessible Websites With Dreamweaver CS3
Thursday, August 21st, 2008A website’s accessibility is a measure of how easy it is for visitors with different levels of motor, visual and auditory ability to make sense of the content on your web pages. If your website is accessible then people using screen readers, who prefer not to display images as they browse or who wish to increase the size at which text is displayed can all gain access to the information held in your pages.
Dreamweaver has a number of features which enable web developers to ensure that content on their pages Is accessible. There are useful dialogs which appear automatically when content added to a page can be made accessible. Dreamweaver also allows web page creators to check their pages for any accessibility issues.
When you install Dreamweaver CS3, there are a couple of program settings which relate to accessibility which you should ensure remain activated. To check that these settings are active, you should choose Preferences in the Edit menu then click on the Accessibility category on the left of the screen. Make sure that the options “Show Attributes For…” “Form objects”, “Media” and “Graphics” are all switched on. Also, click on the General category and activate “Use CSS instead of HTML tags”.
The result of activating these elements is that when you apply formatting attributes to text or to the body of the page, Dreamweaver will create CSS tags to achieve the formatting since CSS makes web pages more accessible by separating formatting information from the actual page content. Another consequence will be that, each time you add certain elements to a page, a dialog will appear prompting you to choose which of the relevant accessibility attributes you wish to associate with that element.
With the accessibility options activated, whenever you insert an image onto the page, Dreamweaver will display a dialog asking you to enter alternate text (alt text). The alt attribute provides a description of the image which can be seen by anyone waiting for the image to load on a slow internet connection. Anyone browsing your site with a screen reader will rely on your alt text to know what each image contains.
In addition to the alt text, Dreamweaver also allows you to browse for or enter a path leading to a long description file. This option relates to HTML’s longdesc attribute which should be used for images whose content is too detailed or too important to be described in the short alt text.
Just as the alt text describes the function of images, the label attribute describes the function of each form field. When the accessibility preferences are active, Dreamweaver will prompt you to enter a descriptive tag for each field. In addition, you can specify the tab order of each element. This is the order in which elements within the form can be accessed by users by simply pressing the Tab key.
Every time you add a Flash movie, video clip or other media element to a web page, Dreamweaver will also prompt you to make the media element accessible. There are three attributes which it refers to: the title, access key and tab index. The title should offer a brief description of the media element in a way similar to that in which an alt label describes an image. The access key is a keyboard shortcut which can be used to make the media element active. The tab index indicates where the media element lies in the tab order, the order in which elements are accessed when the Tab key is pressed.
In addition to assisting you in making elements accessible, Dreamweaver has a utility for checking the accessibility of any page in your site. To use this feature, you need to have the page open and any changes saved. Choose File - Check Page - Accessibility. Dreamweaver will perform an analysis of the page and display a summary of its results. It will list all elements which could be regarded as inaccessible. You can double-click on any element in the list to highlight it both in the code and on the page.




