2.1.75 [HTML5] Section 4.10.5.1.13 Radio Button state (type=radio)

V0164: The oninput event does not fire if the state of the radio option is changed or the click function is called

The specification states:

 ... Radio Button state (type=radio)
     ...
     Bookkeeping details
         ...
         • The input and change events apply.

All document modes (All versions)

The oninput event does not fire if the state of the radio option is changed or the click function is called.

V0165: The preventDefault function does not properly cancel events

The specification states:

 4.10.5.1.13 Radio Button state (type=radio)
     ...
     If the element is mutable, then: The pre-click activation steps consist of setting 
     the element's checkedness to true. The canceled activation steps consist of setting 
     the element's checkedness to false. The activation behavior is to fire a simple event 
     that bubbles named input at the element and then fire a simple event that bubbles 
     named change at the element.

All document modes (All versions)

The preventDefault function does not cancel events.

V0166: The comparison of the name attributes is not done in a compatibility caseless manner for all Unicode ranges.

The specification states:

 ... Radio Button state (type=radio)
     ...
     The radio button group that contains an input element a also contains all the other 
     input elements b that fulfill all of the following conditions:
         ...
         They both have a name attribute, their name attributes are not empty, and the 
         value of a's name attribute is a compatibility caseless match for the value of 
         b's name attribute.

All document modes (All versions)

The comparison of the name attributes is not done in a compatibility caseless manner for all Unicode ranges; instead the comparison uses ASCII comparison.

V0167: The valueMissing attribute returns false when an element is required and checkedness is false

The specification states:

 4.10.5.1.13 Radio Button state (type=radio)
     ...
     Constraint validation: If an element in the radio button group is required, and all 
     of the input elements in the radio button group have a checkedness that is false, 
     then the element is suffering from being missing.

IE11 Mode, IE10 Mode, IE9 Mode, IE8 Mode, IE7 Mode, and IE5 (Quirks) Mode (All versions)

The valueMissing attribute of the ValidityState interface returns false when an input element is required and when checkedness is false for all input elements.

V0168: When there are no checked elements, the checkedness values are set to false

The specification states:

 ... Radio Button state (type=radio)
     ...
     Constraint validation: If an element in the radio button group is required, and all 
     of the input elements in the radio button group have a checkedness that is false, 
     then the element is suffering from being missing.
  
         Note: If none of the radio buttons in a radio button group are checked when they 
         are inserted into the document, then they will all be initially unchecked in the 
         interface, until such time as one of them is checked (either by the user or by 
         script).

All document modes (All versions)

An input type=radio when part of a radio group that has no other checked elements within it, is considered, with all of the other radio group elements, to be in the intermediate state and all elements' checkedness values are set to false.

Show: