W3C

Edit comment LC-1623 for Mobile Web Best Practices Working Group

Quick access to

Previous: LC-1601 Next: LC-1628

Comment LC-1623
:
Commenter: Carlos Iglesias <carlos.iglesias@fundacionctic.org> on behalf of ERT Working Group

or
Resolution status:

#15: Section "3.19 PROVIDE_DEFAULTS" reads: "If the document contains no input element whose name attribute's value matches that of this radio input and whose checked attribute is set to some value..."

We find the wording of this test complex and confusing in general.
The current test generates multiple warnings for each radio button in a group and the algorithm doesn't check that the rest of input elements are also radio buttons, in addition "checked" and "selected" are boolean attributes which only valid value is "checked" and "selected" respectively in XHTML or nothing in HTML (not "some value")

Proposed new wording:

For each radio button group (input elements with type="radio" that share the same name attribute value):
If not exactly one input element within this group is checked
(checked="checked"), warn

For each select element:
If there is no nested option element that is selected
(selected="selected"), warn

PASS

Furthermore, what happens if there is more than one nested option element whose selected attribute is set to some value but the "multiple" attribute is not set? Currently is a PASS, should it be this way?
(space separated ids)
(Please make sure the resolution is adapted for public consumption)


Developed and maintained by Dominique Hazaël-Massieux (dom@w3.org).
$Id: 1623.html,v 1.1 2017/08/11 06:43:31 dom Exp $
Please send bug reports and request for enhancements to w3t-sys.org