How to pass ADA Compliance Sheriff

by Aleksandr Gostomelskiy [131217 21:00]


  1. If your page contains any link to a PDF file you must include the following table at any place on the page:

    Documents in Portable Document Format (PDF) require Adobe Acrobat Reader 5.0 or higher to view; download Adobe Acrobat Reader.

  2. If your page contains any link to an MS Word File (DOC or DOCX extension) file you must include the following table at any place on the page:

    Access to Word Documents (.DOC/X) requires Microsoft Word View 2003 or higher to view; download Microsoft Word Viewer.

  3. All image tags require an "alt" atribute. This includes any kind of images as well as input data fields that are present on the particular web page.

    Always put an empty alt="" atribute. Some rare cases exist, when Compliance Sheriff does not like empty alt atributes.

    In this case you should test the page, and add any text in between the quotes. Do not just use words "picture" or "photo". Use something like "picture of" or "photo of", etc.

    Use <img="sample.jpg" alt=""> 

  4. All tables must be wrapped in one single table, from very top of the page to the very bottom. You don't have to wrap each individual table; just create one "master" table for the entire page.

    <table border="0" cellpadding="0" cellspacing="0"><tr><td>

    Source code for the body of the web page

    </td></tr></table>

  5. If using CSS code specify the background and foreground colors. Example:

    <style type="text/css">
    Body { color:#000000; background-color:#FFFFFF;
         }
    </style>
    

  6. For embedded Youtube videos use description as following example:
    <iframe name="data" role="presentation" src="http://www.youtube.com/embed/..." alt="video of" title="youtube video">
    


    Your browser does not support inline iframes or is currently configured to not display inline frames.

    Content can be viewed here: www.youtube.com/... </iframe>

  7. For embedded video frames use description as following example:
    <embed src="movie.swf" width="100" height="80" autostart="false">
    

    <noembed>You can vide this video at www.ponce.sdsu.edu </noembed> </embed>

  8. For embedded Flash video use the following example:
    <object type="application/x-shockwave-flash" data="veenotchweir_1310311300_F8_512Kbps.swf" width="624" height="389"> 

    Your browser does not support this object. This video is also available at www.ponce.sdsu.edu </object>

  9. For the PHP code when using "Name" (Label For) add alt="" after the command. See example below:
    <name="sample" alt="">
    

  10. For the PHP code when using "Label" (Label For) add alt="" after the command. See example below:
    <label="sample" alt="">
    

  11. For the PHP image arrays use alt="" as follows:
    <?php print "<img src=\"$bg_image\" alt=\"bg_title\">