508 GRAPHS in SAS, Version 8


Macro Usage

Macro Reference

Macro Code


One Graph in Output

Multiple Graphs

508 INFO

ODS Support

SAS Accessibility Statement

SAS, Version 8: 508 Graphs


The recommended way to generate SAS 508-compliant graphs is to use the ACCESSIBLE graphics option, which is available in SAS 9.1.3 (9.1 TS1M3) or later.

If you do not yet have SAS 9.1.3 or later, you can copy the GACCESSIBLE macro from these pages and use it with SAS Version 8 and later. The GACCESSIBLE macro will help you comply with section 508 of the Rehabilitation Act.

The GACCESSIBLE macro associates usability information with graphs produced for Web display using ODS with the GIF, Java-based, or ActiveX-based device drivers. The accessibility information can include descriptive text and/or data that is relevant to the graph, such as the summary statistics that are represented by a bar chart.

The GACCESSIBLE macro provides parameters that you can use to specify the information you want to associate with the graph. Based on your parameter specifications, the macro writes the accessibility information to the graph's output HTML file and automatically creates a graph footnote that links it.

By default, the footnote link is visible in the output HTML file so that you can test and verify the accessibility information during graph development. When you are ready to generate your production graph, you can hide the link so that it does not distract from the graph presentation but will nevertheless be detected by an accessibility aid, such as a screen reader.

For information on using the macro and to access the macro code, use the links in the right column of this page.

The following figure shows output from a SAS/GRAPH program that used the GACCESSIBLE macro. Click the link in the lower left corner to see the descriptive text and data that are associated with the graph.

SAS Output
VBAR chart of Age