- From: <bugzilla@jessica.w3.org>
- Date: Fri, 27 Mar 2015 13:48:14 +0000
- To: www-validator-cvs@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22802
Michael[tm] Smith <mike@w3.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
CC| |faulkner.steve@gmail.com
Resolution|WORKSFORME |---
--- Comment #3 from Michael[tm] Smith <mike@w3.org> ---
(In reply to Kyle from comment #2)
> > > I Get the following error:
> > >
> > > Error: Element option without attribute label must not be empty.
> >
> > Yeah, that error is correct. The spec says that an empty option element
> > without an a label attribute is a document-conformance error.
> >
> > http://www.w3.org/TR/html51/forms.html#attr-option-label
> >
> > "The label content attribute, if specified, must not be empty. If the
> > attribute is not specified, then the element itself must not be empty."
>
> By following the provided link, I'm not able to locate the second sentence
> "If the attribute is not specified, then the element itself must not be
> empty."
>
> Is it possible the spec has been amended and the validation service should
> be updated? It seems that empty option elements "<option
> value=''></option>" should be allowed in HTML5, especially for <select>
> elements that do not have the required attribute specified.
>
> Apologies for bringing this to light again a year and a half later.
Thanks for catching this. In fact it looks like the spec has since changed.
Steve Faulkner also reported this separately. So I think I need to remove this
check from the validator sources.
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 27 March 2015 13:48:17 UTC