Those IDs can be used as "hooks" to allow CSS and JavaScript to interact
with your individual form elements.
---
Dale Cruse
617.640.0856
http://www.DaleJCruse.com

On Wed, Aug 19, 2009 at 11:37 AM, Erickson, Kevin (DOE) <
[email protected]> wrote:

>  Good day,
>
> When making a form in Dreamweaver it puts in id="same as name" in to every
> form item. When I take out all the id attributes the form still works. Why
> are the id attributes being put in by DW and, more importantly, is there an
> accessibility issue if I take them out?
> i.e. -
>
> <textarea name="Comments" cols="60" rows="5"></textarea>
> vs.
> <textarea name="Comments" id="Comments" cols="60" rows="5"></textarea>
>
> and
>
> <input type="submit" name="submit2" value="Submit" />
> vs.
> <input type="submit" name="submit2" id="submit" value="Submit" />
>
>
> Thank you,
> Kevin
>
> *******************************************************************
> 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