jquerytools/jquerytools — Issue #593: [validator] Elements of a disabled fieldset should not be validated
Author: rlongre
Created: 2011-12-13 21:51:48+00:00
State: open

Per the HTML5 spec...

"The disabled attribute, when specified, causes all the form control descendants of the fieldset element, excluding those that are descendants of the fieldset element's first legend element child, if any, to be disabled." - http://www.w3.org/TR/html5/forms.html#attr-fieldset-disabled

"A listed form-associated element is a candidate for constraint validation except when a condition has barred the element from constraint validation. (For example, an element is barred from constraint validation if it is an output or fieldset element.)" - http://www.w3.org/TR/html5/association-of-controls-and-forms.html#barred-from-constraint-validation

"A form control is disabled if its disabled attribute is set, or if it is a descendant of a fieldset element whose disabled attribute is set and is not a descendant of that fieldset element's first legend element child, if any.

A form control that is disabled must prevent any click events that are queued on the user interaction task source from being dispatched on the element.

Constraint validation: If an element is disabled, it is barred from constraint validation." - http://www.w3.org/TR/html5/association-of-controls-and-forms.html#concept-fe-disabled