Jump to content

Validation really?


S@m

Recommended Posts

I just need to confirm that I am setting this up correctly.I have a select list that I put an <optgroup> tag on for accessibility.On one of my pages, the select group is disabled by default because the value is set on a previous page.When I validate the page as much as I can, I get this error:required attribute "label" not specified.<optgroup disabled="disabled">My HTML:

<select id="appState" name="appState" tabindex="6" title="Select your state from the dropdown menu" disabled="true">   <optgroup disabled="disabled">   ...stuff here...   </optgroup>

But looking at the W3C site on how to use the disabled attribute, that's what it tells me. I'm not misinterpreting it am I?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...