Docsity

Debugging and Accessibility Techniques for Web Publishing: A Comprehensive Guide - Prof. M, Exams of Engineering

Partial preview of the text

Download Debugging and Accessibility Techniques for Web Publishing: A Comprehensive Guide - Prof. M and more Exams Engineering in PDF only on Docsity!

Marlow J. Marchant, Ph.D. Technology Department Copyright 2008 Eastern Kentucky University

Testing and Debugging

Web Pages

TEC 255

Web Publishing

Testing and Debugging

Debugging techniques are oen very basic, before going aer the big problem make sure you do not have any little ones. Aer a change, load to the server and check it in a browser. Check your site in more that one browser on Windows and Macintosh platforms. No browser supports web standards 100%, Firefox and Opera are best, then Internet Explorer 7. Know your clients, techies can be expected to have all of the latest plugins. You may need to “degrade gracefully”.

Checking Easy Stuff

Make sure you have saved the page. Make sure you have uploaded the actual file you want to test. Make sure to refresh your browser. Make sure you have uploaded any auxiliary files, like css, images, music and videos. Check your page in a different browser.

Checking XHTML

Be careful about nesting. All attribute values must be enclosed in quotes. Make sure all elements have opening and closing tags. Do not combine opening and closing tags for elements that usually have content, like

Do not leave out the # sign when specifying colors in hexadecimal.

When Images Do Not Appear

Make sure the file name matches the img tag exactly. Do not use spaces in file names. Make sure the image’s location is specified correctly. Make sure you have uploaded the image to the server.

Validating Your Code

Use the W3C.s validators. Make sure you use the correct DOCTYPE. For XHTML go to: http://validator.w3.org/ For CSS go to: http://jigsaw.w3.org/css-validator/

Legal Requirements

e United States, other countries have similar laws. In the U.S., the Section 508 of the Rehabilitation Act requires that Federal agencies and their contractors give disabled employees and members of the public access to information (including web sites) that is comparable to the access available to others; the Americans with Disabilities Act of 1990 prohibits discrimination on the basis of disability; and Section 225 of the Telecommunications Act of 1996 requires suppliers to make telecommunications products and services accessible unless not requiring significant difficulty or expense. It is complicated, and dependent on case law, exactly how the latter two apply to Web site accessibility. On September 7, 2006, Judge Marilyn Hall Patel ruled in National Federation of the Blind v. Target Corporation that a retailer with a physical storefront may be sued if its website is inaccessible to the blind. However, Judge Patel did not rule on the merits of the plaintiff's case, which will be adjudicated at a later date. Wikipedia.org

EKU Web Accessibility

Parker Owens is a full-time employee of Information Technology Services. She is EKU’s Web Accessibility Specialist. Owens’ Web Accessibility Home Page

CSS Increases Accessibility

User can override your style sheet Different style sheets for alternative devices Add hover effect to links Remove underlines from links Use CSS instead of tables Control paragraph, line, letter spacing Smaller files decrease download time Remove decorative images from code <img src=“decrule.gif ” alt=“”>

W3C 10 Quick Tips

  1. Images & animations: Use the alt attribute to describe the function of each visual.
  2. Image maps. Use the client-side map and text for hotspots.
  3. Multimedia. Provide captioning and transcripts of audio, and descriptions of video.
  4. Hypertext links. Use text that makes sense when read out of context. For example, avoid "click here."
  5. Page organization. Use headings, lists, and consistent structure. Use CSS for layout and style where possible.
  6. Graphs & charts. Summarize or use the longdesc attribute.
  7. Scripts, applets, & plug-ins. Provide alternative content in case active features are inaccessible or unsupported.
  8. Frames. Use the noframes element and meaningful titles.
  9. Tables. Make line-by-line reading sensible. Summarize.
  10. Check your work. Validate. Use tools, checklist, and guidelines at http://www.w3.org/TR/WCAG