S@m Posted July 17, 2007 Share Posted July 17, 2007 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 More sharing options...
justsomeguy Posted July 17, 2007 Share Posted July 17, 2007 It's not complaining about the presence of the disabled attribute, it's complaining about the lack of a label attribute. Link to comment Share on other sites More sharing options...
S@m Posted July 17, 2007 Author Share Posted July 17, 2007 ha haStupid code completion! :)wow. I need to walk away more often. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.