Accessibility - Section 508 - ALT Tags

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
dfruchey
Beginner
Beginner
Posts: 4
Joined: Thu Jul 24, 2003 9:12 pm

Accessibility - Section 508 - ALT Tags

Post by dfruchey »

We are testing the menu right now for use sitewide where I work. When I use a screen reader (JAWS 4.51) a sample menu read aloud:

Graphic. Link. Camping. Graphic. L1. (for line 1)

If there were ALT tags in the image code I could insert blank comments in the ALT tags and then the code would just read aloud as:

Link. Camping.

This is much preferred, we are trying to make this as useful as possible for blind and low vision visitors. Can you tell me a way to add this functionality or can you add it in your next revision?
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

This is something that we would love to implement.

The only problem I have with this is doing it correctly.

What exactly do you think we should do?

Adding images and allowing you to declare an alt tag is one way but isn't there a way to do this with plain text?

The reason I ask is because I don't know enough about how to do this. Do you have any demos or URL's I can try out.

Cheers
Andy
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Use the title tag, Andy. I'm pretty sure JAWS will go for that.

I have titles in place at http://www.west.asu.edu/sa/testsite/sl1.htm and http://www.west.asu.edu/sa/testsite/sl2.htm.
John
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Titles?

You mean the title at the top of the browser window or something else?

Sorry if i'm being dumb ;)

Cheers
Andy
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

In HTML image tags, there are attributes you can set that will allow page readers to correctly describe an image to the surfer. Obviously they can't see the image and instead of reading the image filename to the user, you can specify attributes in the img tag that will be read. The Alt tag and the name tag are two you can try. When you pause your mouse over an image, the little box that pops up is the alt tag at work, I believe this is what the screen reader will read.

Code: Select all

<img src="/images2/aqua_clock.gif" alt="Picture of Clock" name="Aqua Clock" width="25" height="28" border="0" id="aquaClock">
You should probably put in the ablity so that when you specify subimage, you can also be able to say imageAlt = "" and your code, when it writes out the html for the subimage, throws in the alt tag.

Hope this was kinda what you were looking for Andy.
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Thanks for that.

The only problem is that IE is the only browser that displays the ALT in a tool-tip.

Do you know if this matters and that text readers can still see the ALT text even though the browser does nothing with it.

Cheers
Andy
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Andy wrote:Titles?
You mean the title at the top of the browser window or something else?
Sorry if i'm being dumb ;)
Not at all - you know how I get from some of our private messages :!: :roll:

Anyway, title as in the HTML tag, used like this in the menu...

Code: Select all

aI("text=ASU West;url=http://www.west.asu.edu/;title=ASU West home page;status=ASU West home page");
John
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

So it's the status then? :P


-- Andy
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

In this case title and status happen to be the same. However, I don't think JAWS understands status, but does read title. Haven't has a chance to test that, however.
John
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

I downloaded the trial version of JAWS just to see what it would do. Basically, when it comes to hyperlinks and text, the title tag really doesn't mean anything. The screen reader reads the text of the link, but informs the user that its a link.
When it comes to images, you can specify what the reader does. By default, if no ALT or TITLE attributes of the IMG tag are set, it says "graphic" + filename + "DOT GIF" or to that effect. You can go into settings and tell the reader to either read the TITLE tag or the ALT tag if both are specified. So its preference to some extent.

Its generally more popular to have the ALT tag set instead of the title tag. The reason being, when someone uses a screen reader such as JAWS, or has their graphics turned off, the browser will take the ALT tag and put it in the place of the image. So the reader would read that text and the browser would show it as preformatted text.

So Andy, I would say that if you were to implement this into the menu, you should have a "subimageALT" attribute that could be set that would put in an ALT tag for any subimages so it would make the menu more friendly to people who use these devices. But thats just my two cents, dfruchey would probably have a more accurate and credible opinion. :)
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
toasterhead2k
Advanced
Advanced
Posts: 12
Joined: Fri Jun 27, 2003 9:05 pm
Location: Washington, DC
Contact:

Post by toasterhead2k »

I think the easiest way to get around this, if Section 508 is a requirement for your menu, is to put <img> tags in the text field of the array and include the necessary alt attribute. It's difficult to predict how different screen readers will interpret the Javascript, but nearly all of them will pick up an alt attribute when they come across a graphic.

If it's possible to send a default alt="" attribute with the standard arrows that come with the menu, that could also help satisfy the requirements. I argue that the arrows are merely eye-candy, and not providing any real information, other than a visual cue that there's an additional sub-menu. A screen reader that properly reads the menu should tell the user that there's a sub-menu by default. On my site, we've also tried to replicate the links of our menu in a sitemap and on the appropriate sub-pages to provide redundancy for those who can't use the menu.

One other important accessibility issue that I haven't seen addressed in this thread is the "skip repetitive navigation" clause. This is possibly more important than the alt tag issue - without it, blind users are forced to listen to every item on the menu before getting to the meat of the page.

On my site, I put a one-pixel gif at the top of the first item in the menu that links to a "content" anchor just above the page content, with alt text that says "Skip navigation menu". It's invisible to most users, but very useful to those with voice browsers.

If there are any ideas here that can be incorporated into the menu, great! If not, there are some easy workarounds to make the menu 508 compliant.
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

Please correct me if I'm wrong on disability access:

I need to use title & alt tags.
I have no need to use status.
I turn the first item image(blank) into a link to the top of the page, include alt tag to skip menu.

I have a horizontal and left vertical menu, I place a link to the top of page in both. (any chance I'm creating a loop or missing a menu?)

In the vertical xpmenu, the first image has no value, only text to showmenu, so I added a link to top of page. Smart thinking... not!

Because of followscroll, the top menu item runs off the top of the page.
1 hidden pixel did the same thing. It will work if I allow 18-20px in height to run off the top of the page.

Regards
maz
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Wrote to the JAWS folks asking very specifically for info on what the reader is looking for (tags, etc.) to make it talk. Got this back...
Thank you for contacting Freedom Scientific technical Support. After discussing your issue with our escalations team, you will need to consult the pages below for more on 508 compliance. If we can be of any additional assistance, feel free to email me back.

http://www.w3c.org/wai
http://www.section508.gov
I wrote back, as suggested (not sure why). No response yet.

Too bad more folks don't know how to read. It would make things so much easier.
John
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

I think the best solution is to find a blind volunteer.
Regards
maz
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

I was really hoping dfruchey would put alittle input into this thread, since he/she made the request and could give us some good insight.
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

I work with disabled folks on a daily basis here. My site must be 508/W3C compliant (although I am lacking a bit here and there :oops: ). It's relatively easy to meet those specs, but the problem is without more info from JAWS, etc., about exactly what they're looking for, it gets a little tough for Andy to write something that will respond.

So far they've been less than helpful.
John
Post Reply