navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Suggestions please

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Accessibility >> Suggestions please
Page: [1]
 
Kitka

 

Posts: 2515
Joined: 1/31/2002
From: Australia
Status: offline

 
Suggestions please - 1/28/2007 12:53:31   
A client wants to advertise a special on their website and this is the basic code and text I am using - but it fails WAI:

<div id="promo">
<p><a href="special.htm" title="More information and order form">Trial our Product <br />
Save 25%<br />
Click here to<br />
<img src="images/order-now.gif" alt="Order Now" title="Order Now" width="86" height="20" /></a></p>
</div>


The error is this:
quote:

13.1 Clearly identify the target of each link.

* Rule: 13.1.1 - All Anchor elements are required not to use any of the defined link phrases in the link text.
o Failure - Anchor Element at Line: 38, Column: 4


It is complaining about the "Click here to" text. Originally I didn't have it there, but both the site owner and my colleague observed that there was no overt indication the visitor needs to click on the ad (div) to find out how to get the special.

Bearing in mind that the div is only 150px wide, how can I clearly indicate that the button/whole div needs to be clicked and also pass WAI?

_____________________________

Kitka
**It is impossible to make anything foolproof because fools are so ingenious.**

Tailslide

 

Posts: 6121
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: Suggestions please - 1/28/2007 13:41:20   
Yeah the whole "click here" thing is a bit of a no-no accessibility-wise (we've all done them though!). I had a similar issue recently on a site which was selling vehicles. It had a listing with the vehicle name, price, size etc and a "more details" link through to, well.. more details. But I knew I couldn't just have 20+ links that all just said "more details" so what I did was have:

<a href='vehiclepage.html?id=78'>More Details <span class="more">about this Fiat Swift Kontiki 615</span></a>


And I used the span to position the about this etc etc bit off screen. That way it passes the checkpoint and it makes more sense to screenreaders.

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to Kitka)
Kitka

 

Posts: 2515
Joined: 1/31/2002
From: Australia
Status: offline

 
RE: Suggestions please - 1/28/2007 23:36:35   
Thanks Tailslide! That technique looks very useful, but unless I am more confuzzled than normal :) it won't help in this situation.

I can remove the whole line that says "Click here to" and the page will both pass WAI and still be semantically correct for screen readers.

However, my difficulty is visually alerting the 99% of visitors who don't use a screen reader.

As I mentioned, originally I didn't have that line in the ad, but included it after the client and my colleague independently observed that there is no visual cue for people to know that they need to click on the div/button to go to the specials page.

Substituting "More details" for "Click here to" seems to me to be semantically incorrect.

I have attached a pic of the div as it is difficult to explain in a few words what I am working with. I have changed the top line of text to obfuscate the actual brand.

Maybe I should just make the whole thing into a graphic rather than just the background?


Thumbnail Image
:)

Attachment (1)

_____________________________

Kitka
**It is impossible to make anything foolproof because fools are so ingenious.**


(in reply to Tailslide)
rubyaim

 

Posts: 757
Joined: 6/22/2005
Status: offline

 
RE: Suggestions please - 1/29/2007 0:43:22   
quote:

However, my difficulty is visually alerting the 99% of visitors who don't use a screen reader.

I've struggled with that at times as well - sometimes 'click here' does seem to be the best option for alerting visitors (as is 'read more' and 'more info' etc). Let's face it, we are all used to seeing it and know what it means :)

Placing the entire thing in an image would work I think, that way sighted users do see the 'click here' your client would like.

Another option might be to change the button to read 'Click here to Order Now' (over two lines) and place the link around the button only. That way the button will be a little larger and perhaps more obvious to users yet not really increase the space of the div.



_____________________________

Sally

(in reply to Kitka)
Tailslide

 

Posts: 6121
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: Suggestions please - 1/29/2007 2:39:38   
You could use an image - as long as it's still fairly clear with images off etc then I can't see an issue offhand (allowing that the text size should be reasonable as people won't be able to resize it).

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to rubyaim)
Kitka

 

Posts: 2515
Joined: 1/31/2002
From: Australia
Status: offline

 
RE: Suggestions please - 1/29/2007 22:49:33   
quote:

(allowing that the text size should be reasonable as people won't be able to resize it).


That's the main problem with making it an image. :)

_____________________________

Kitka
**It is impossible to make anything foolproof because fools are so ingenious.**


(in reply to Tailslide)
jaybee

 

Posts: 14175
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Suggestions please - 1/30/2007 7:35:34   
Why not just make it an obvious button with a hover state that says Special Offers?

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to Kitka)
Page:   [1]

All Forums >> Web Development >> Accessibility >> Suggestions please
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts