[Bug 26009] New: Field element for marking up form controls

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26009

            Bug ID: 26009
           Summary: Field element for marking up form controls
           Product: HTML WG
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: CR HTML5 spec
          Assignee: robin@w3.org
          Reporter: email@mrslayer.com
        QA Contact: public-html-bugzilla@w3.org
                CC: public-html-admin@w3.org

In the section 4.10.1.1, 'Writing a form's user interface', the spec defines
form controls as being individual paragraphs of a form:

"Each part of a form is considered a paragraph, and is typically separated from
other parts using p elements."

I feel that it would be more semantically appropriate to utilize a new form
"field" element for marking up form controls and to differentiate them from
other, regular paragraphs.

For example:

<form>
  <field>
    <label>Name</label>
    <input />
  </field>
</form>

This would also make the "fieldset" more applicable, as it could now actually
be a set of fields.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Saturday, 7 June 2014 02:50:34 UTC