Applet Example "Alt Tags"

For instance, if a web designer wanted to include an applet called MyApplet in a web page, but also include a description that the applet shows a stock ticker displaying the current price of various stocks, she could include it as:

    <APPLET CODE="MyApplet.class" WIDTH="200", HEIGHT="100">
    This applet displays current stock prices for many popular stocks
    </APPLET>

  

IMPORTANT NOTE:

In this example, because the applet displays complex page content (current stock prices), an alt tag alone, even as shown above, would not be sufficient for accessibility.  A means would still need to be found to provide the stock price information in accessible format.  For more on alt tags, see guidance on Rule a.

Department of Commerce Web Advisory Council (WAC)
U.S. Department of Commerce

Send questions and comments about this page to WAC@doc.gov
Page last updated October 12, 2010