Actually, the label tag wrapped around form input is the "old traditional"
method.

The "for" attribute method was introduced later to allow designers greater
flexibility in positioning/styling forms whilst maintaining accessibility.


On Fri, October 17, 2008 12:53 am, [EMAIL PROTECTED] wrote:
> Thank you everyone for your replies. So it seems the trusty old
> traditional
> <filedset>
> <llegend>Contact Information</legend>
> <label for="name">Name</label><br />
> <input id="name" type="text">
> </fieldset>
> is the way to go to keep all browsers and screen readers happy. I think I
> can likely lose the <br /> and replace that with a display: block; on the
> label or input. This is the first of a series of questions I will have. I
> have the opportunity to rewrite some extremely complex forms for a very
> large CMS and I want to make them the best they can be.
>
> Thanks!
>
> ----- Original Message -----
> From: "Mike at Green-Beast.com" <[EMAIL PROTECTED]>
> To: wsg@webstandardsgroup.org
> Sent: Thursday, October 16, 2008 11:07:33 AM GMT -05:00 US/Canada Eastern
> Subject: Re: [WSG] labels as input wrappers + <h6> in place of legend
>
> Hi Ben,
>
>> I've always used label arount input fields [...]
>> I don't think I've ever seen any recommendation against it.
>
> Here's one for you:
> http://green-beast.com/blog/?p=254
>
> I haven't been paying attention to this, and someone's probably already
> said
> it (if so, sorry), but it's also worth noting that only form elements will
> be read in a screen reader's forms mode. Being as such, it's better to
> style
> the legend to look like an h6 rather than substituting it for one.
>
> Respectfully,
> Mike Cherim
>
>
>
>
> *******************************************************************
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [EMAIL PROTECTED]
> *******************************************************************
>
>
>
> *******************************************************************
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [EMAIL PROTECTED]
> *******************************************************************




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

Reply via email to