NYCPHP Meetup

NYPHP.org

[nycphp-talk] Trapping JS errors in function called onSubmit

tedd tedd at sperling.com
Wed May 7 16:21:50 EDT 2008


At 8:25 AM -0700 5/7/08, Kristina Anderson wrote:
>PS special thanks to Tedd for testing the script for me.
>
>Also, I've forwarded this thread to the person who designed the HTML
>forms for this project.
>
>Is there any reason to prefer label tags over using id, or is either
>one fine going forward?

Kristina:

Labels are good for accessibility.

Also, please review:

http://www.w3.org/TR/WCAG10-HTML-TECHS/#forms-labels

and if you will note, the W3C uses both label and id in their example.

Can't go too wrong following their lead.

Cheers,

tedd


-- 
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com



More information about the talk mailing list