Date: Thu, 23 Feb 2012 12:41:36 -0600
Reply-To: Joe Matise <snoopy369@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Joe Matise <snoopy369@GMAIL.COM>
Subject: Re: How to add "Alt=" in Graph Title statement, 508 compliance
In-Reply-To: <201202231812.q1NF3Wmm025343@waikiki.cc.uga.edu>
Content-Type: text/plain; charset=ISO-8859-1
Oh, I see... it doesn't create an anchor tag at all, but it prints the
title as part of your image. NOGTITLE is what I was assuming was default,
due to my lack of GPLOT knowledge :)
I suppose that you could just do it this way, then:
data test; set sashelp.air;
run;
ods csv file="c:\temp\testout.csv" style=minimal;
proc print data=test;
run;
ods csv close;
ods html body="c:\temp\Air_plot.html" nogtitle;
goptions device=gif altdesc;
title1 underlin=1 h=2.4 color=blue '<a href="c:\temp\testout.csv"
title="Link to Data">Open Data
Set</a>'; /*Link to CSV file */
proc gplot data=test;
plot air*date/ description="Plot of Air vs. Date";
run;
ods html close;
quit;
You probably also could leave it in the graphic (and use the same
workaround), though that wouldn't be as accessible particularly to (audio)
readers.
-Joe
On Thu, Feb 23, 2012 at 12:12 PM, Amy Ludtke <asludtke@usgs.gov> wrote:
> Thanks for your input. I'm getting flagged on every single plot (1,000s)
> where I have a link to CSV files. The actual message reads as follows:
>
> "All AREA elements are required to have the ALT ... Client-side image
> maps present functionality that is not available to all users. The ALT
> attribute can be used for AREA elements to provide a text equivalent."
>
> I thought if I pulled the title out of the graphic and placed in into the
> HTML doc instead, using "nogitle" that would circumvent the errors, but
> that didn't work either. They want a mouseover or flyover, just changing
> the tile isn't going to meet the requirements.
>
> Amy
>