Chapter 18. Testing, Accessibility, Compliance, and Validation

In This Chapter

  • Checking your code for errors

  • Testing on different platforms and browsers

  • Fixing common code errors

  • Checking (X)HTML syntax

  • Making pages CSS, (X)HTML, and 508 accessibility compliant

  • Fixing noncompliant code issues

  • Displaying proof of code validation

Congratulations on making it this far! You're almost to the finish line, and you only have a few more things to do before you can publish your site for all to see. At this stage, it's time to put all the pages on your site through a rigorous review to catch potential problems like spelling errors, code issues, broken links, and missing code attributes like alt text attributes for images and title attributes for hyperlinks.

In this chapter, you'll find some helpful tips and suggestions on validation, testing, standards compliancy, and more. Most HTML code editors have tools to assist you with testing your pages so that you can identify and fix any problems before visitors have a chance to see the site. For instance, in this chapter, you find out how to use several testing tools, including ones that clean up code and check spelling, and I discuss a tool to find and replace text and source code throughout a site. In addition, you discover how to clean up redundant and unnecessary code, apply uniform source formatting to pages, and fix some common coding problems such as identifying broken links and orphans.

Note

A few examples in this chapter use Dreamweaver. However, ...

Get Web Design All-in-One for Dummies® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.