[program-l] Re: HTML: Links

  • From: "Corbett, James" <James.Corbett@xxxxxxxxxxxxx>
  • To: "'program-l@xxxxxxxxxxxxx'" <program-l@xxxxxxxxxxxxx>
  • Date: Mon, 15 Oct 2012 15:06:13 +0000

Jacob:

Thanks. I'm sort of under the opinion if the client wants a link to be disabled 
then don't display the link. ...and on an official note, WCAG 2.0 AA 4.1.2 
would seem to be in violation.

Jim

From: program-l-bounce@xxxxxxxxxxxxx [mailto:program-l-bounce@xxxxxxxxxxxxx] On 
Behalf Of Jacob Kruger
Sent: October 15, 2012 10:44 AM
To: program-l@xxxxxxxxxxxxx
Subject: [program-l] Re: HTML: Links

Using jQuery, you can add a click event handler for all links, or a specific 
one, where you then turn off the standard event:
event.preventDefault();

Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
----- Original Message -----
From: Corbett, James<mailto:James.Corbett@xxxxxxxxxxxxx>
To: Program-L (Program-l@xxxxxxxxxxxxx)<mailto:Program-l@xxxxxxxxxxxxx)>
Sent: Monday, October 15, 2012 3:48 PM
Subject: [program-l] HTML: Links

Hi:

Would it be possible to have a html link disabled?

...just a weird request that came across my desk this morning.

Jim

James Corbett
IT Developer - Analyst
ITB/Solutions/BP&A/DevCentre/Developer Tools and Horizontal Initiatives Services
613 941-9355 | facsimile / télécopieur 613-954-9222
James.Corbett@xxxxxxxxxxxxx<mailto:James.Corbett@xxxxxxxxxxxxx>
Canada Revenue Agency | 875 Heron Rd Rm H4-177, Ottawa ON K1A OL8
Agence du revenu du Canada | 875 chemin Heron, ch H4-177 Ottawa ON K1A 0L8
Government of Canada | Gouvernement du Canada

"Be yourself; everyone else is already taken."
Oscar Wilde



Other related posts: