Kubrick and U.S. Sec. 508
-
Out of boredom, I found something interesting today. All you have to do is add
<label for="s">Search This Site</label>
above<input type="text" value="<?=htmlentities($s); ?>" name="s" id="s" />
in kubrick-searchform.php, and your entire baseline Kubrick template will be compliant under The United States Section 508 accessibility standard ( https://www.access-board.gov/sec508/508standards.htm ). So, the new kubrick-searchform.php would be
<form method="get" id="searchform" action="<?php echo $PHP_SELF; ?>">
<label for="s">Search This Site</label>
<input type="text" value="<?=htmlentities($s); ?>" name="s" id="s" />
<input type="submit" id="searchsubmit" name="Submit" value="<?php _e('Search!'); ?>" />
</form>
Pretty cool to be XHTML, CSS, and Sec. 508 compliant. Why? Because I was bored, that’s why. ^_-
- The topic ‘Kubrick and U.S. Sec. 508’ is closed to new replies.