Plug-Ins

Plug-Ins

When a web page links to a document such as a Acrobat, Word, Excel or PowerPoint, a link to a plugin that allows users to access these files must also be provided.

Name Size File Extension Associations
Adobe Reader 22.4MB .pdf
Flash Player 1.5MB .swf
Word Viewer 24.5 MB .docx .docm .rtf .txt .htm .html .mht
.mhtml .wpd .doc .wpd .wps .wps .xml
PowerPoint Viewer 2007 25.8 MB .ppt .pptx .pptm .pot .potx
.potm .pps .ppsx .ppsm
Excel Viewer 74.1 MB .xls
Windows Media Player 25.9MB List of file extension associations


The following code samples can be added to a web page to comply with this accessibility requirement.

Adobe Reader

Code:

<p><a href="/%3Ca%20href%3D"http://www.adobe.com/go/getreader">http://www.adobe.com/go/getreader"> <img src="/sites/default/files/images/web/get_adobe_reader.gif" style="border:none" alt="Download Adobe Reader"><span style="display:none">Download Adobe Reader</span></a></p>

End Result:


Adobe Flash

Code:

<p><a href="/%3Ca%20href%3D"http://www.adobe.com/go/getflashplayer">http://www.adobe.com/go/getflashplayer"><img src="/sites/default/files/images/web/get_flashplayer.gif" style="border:none" alt="Download Adobe Flash Player"><span style="display:none">Download Adobe Flash Player</span></a></p>

End Result:


Microsoft Word

Code:

<p><a href="/%3Ca%20href%3D"http://www.microsoft.com/en-us/download/details.aspx?id=4">http://www.microsoft.com/en-us/download/details.aspx?id=4"><img src="/sites/default/files/images/web/wordviewer.png" style="border:none" alt="Download Word Viewer"><span style="display:none">Download Word Viewer</span></a></p>

End Result:


Microsoft PowerPoint

Code:

<p><a href="/%3Ca%20href%3D"http://www.microsoft.com/en-us/download/details.aspx?id=13">http://www.microsoft.com/en-us/download/details.aspx?id=13"><img src="/sites/default/files/images/web/pptviewer.png" style="border:none" alt="Download PowerPoint Viewer"><span style="display:none">Download Powerpoint Viewer</span></a></p>

End Result:


Microsoft Excel

Code:

<p><a href="/%3Ca%20href%3D"http://www.microsoft.com/en-us/download/details.aspx?id=10">http://www.microsoft.com/en-us/download/details.aspx?id=10"><img src="/sites/default/files/images/web/excelviewer.png" style="border:none" alt="Download Excel Viewer"><span style="display:none">Download Excel Viewer</span></a></p>

End Result:


PHP Includes

If using the previous PHP University Web Templates, the
following include statements can be used to obtain the same results as shown abaove.

Adobe Reader:

<?php include("/Common_Files/pdfplugin.inc"); ?>

Adobe Flash:

<?php include("/Common_Files/flashplugin.inc"); ?>

Microsoft Word:

<?php include("/Common_Files/wordplugin.inc"); ?>

Microsoft PowerPoint:

<?php include("/Common_Files/pptplugin.inc"); ?>

Microsoft Excel:

<?php include("/Common_Files/excelplugin.inc"); ?>


Top