The learner will list three reasons to validate a web page.
So now you know what to do ... how do you know if you did it right?
What is "validation?"
Usually involves using a computer program to review the HTML code on the page, based on standards
Notes deficiencies in HTML
Notes deficiencies in design
Notes accessibility problems
If you use a page authoring program, it probably does some validation for you:
Items requiring human judgment during validation
Do the page background and text colors provide sufficient contrast to be legible?
Is the page using color to provide information?
Is the navigation strategy you're using clear to visitors?
Items examined in validation
HTML code - is it correct?
Element syntax correct?
Are elements requiring both opening and closing tags properly closed?
Do elements span paragraphs, etc.?
Are elements in proper order?
Attribute syntax correct?
Attribute contain valid values?
Attribute allowed?
Items examined in validation
Images
Do they include ALT attributes?
ALT attribute values sufficiently descriptive?
Should the image also have a LONGDESC attribute (i.e., a link to a file containing a more detailed description than will fit in ALT attribute)
Is the image being used as a link?
Does all of the information still come through if you turn off images in your browser?
Does the page linearize properly?
If table is used for layout, does information flow in the order it is intended to?
If table is included in page, does information flow in the order it is intended to?
Do tables include contextual information?
Is the SCOPE attribute used for row and column headings?
Is the HEADER attribute used with ID to provide context?
Can the page be understood if the visitor cannot/does not use scripts or style sheets?
Can test with (some) browsers
Pages relying on scripts should also include provisions for those using no scripts
Pages laid out with style sheets must also make sense when user agent does not accommodate style sheets.
Why Validate?
Most accessibility errors will NOT be visible on the page
Validation catches HTML errors too
sk the participants what they expect Validation to check for. Make a list.
Ask the participants why they believe Validation is necessary, if they "know" what to do.
Validation quiz.
To access Lesson Plan as a Microsoft® Word document: Validation_lessonplan.doc
Back to Section Table of Contents
Back to Curriculum Table of Contents