Hi Jason,

 

I use jQuery too, well when I have to. 

An excellent operating model and file-size when minified and gzipped.

A brilliant tool in the hands of experts, a hammer on a screw to others.

 

<rant>

I hate the way jQuery, and other libraries, are used to provide cheap
effects. 

It's taken not only as a development shortcut, but a skill short cut
too.

Let's forget all the basics and jQuery/scriptilicious/moo tool it into a
shiny new web 2 product.

After all who cares if it's bad practice, so long as we can sell it
right?

</rant>

 

Here's my first concern:

Try the content folding accordion with a keyboard only. It doesn't work
does it?

All the content hidden by display:none is completely inaccessible to
both keyboard only users and screen-readers.

Very bad practice. Use it on a Government, or public sector website, and
guess where the liability falls?

 

Solution:

Instead of adding an onclick to a heading, try adding a link to the
heading then put the onclick on that.

Use the id of the hidden div as the link href and you're done.

Best practice observed and everyone's happy.

 

 

Regards

 

Mike Foskett

http://websemantics.co.uk/

 

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Jason Grant
Sent: 07 December 2008 12:35
To: wsg
Subject: [WSG] JS patterns

 

A quick note to the group to say that a great, lightweight, JQuery
based, continuously updated, object-oriented, highly reusable set of
patterns is being developed by Adam Silver, a great JS developer.

 

http://www.adoromedia.com/projects/

 

Patterns are constantly being improved and Adam would appreciate
feedback from people and comments on how to improve them even more.
Needless to say that I am using and re-using these patterns and can
highly recommend them.

 

Regards,

-- 
Jason Grant BSc, MSc
CEO, Flexewebs Ltd. 
www.flexewebs.com 
[EMAIL PROTECTED] 
+44 (0)7748 591 770
Company no.: 5587469 

www.twitter.com/flexewebs 
www.linkedin.com/in/flexewebs


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

-------------------Warning------------------------

This e-mail is from outside Tesco - check that it is genuine. Tesco may
monitor and record all e-mails.



---- Disclaimer ----
This is a confidential email.  Tesco may monitor and record all emails.  The 
views expressed in this email are those of the sender and not Tesco.

Tesco Stores Limited
Company Number: 519500
Registered in England
Registered Office: Tesco House, Delamare Road, Cheshunt, Hertfordshire EN8 9SL
VAT Registration Number: GB 220 4302 31



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to