Date: Thu, 23 Feb 2012 09:57:50 -0500
Reply-To: Amy Ludtke <asludtke@USGS.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Amy Ludtke <asludtke@USGS.GOV>
Subject: How to add "Alt=" in Graph Title statement, 508 compliance
We have web pages that are not meeting our 508 compliance monitors... I
need help adding an "Alt=" tag to a link w/i a Graph Title statment. I'm
creating a downloadable data set w/i SAS, creating a graph of the data,
and then linking to the CSV data set from the title statements. The graph
itself has an alt= tag, but the link to the data needs a second alt= tag,
saying something like, "Link to download data". I've simplified my code w/
and example below. Does anyone have suggestions?
I'm using SAS 9.2 TS Level 2M3 on Windows 7 X64_VSPRO.
Thanks in advance,
Amy Ludtke (USGS)
data test; set sashelp.air;
run;
ods csv file="testout.csv" style=minimal;
proc print data=test;
run;
ods csv close;
ods html file="Air_plot.html";
goptions device=gif altdesc;
title1 link="testout.csv" underlin=1 h=2.4 color=blue "Open Data
Set"; /*Link to CSV file */
proc gplot data=test;
plot air*date/ description="Plot of Air vs. Date";
run;
ods html close;
quit;
|