Overview
HTML5 forms are one of the areas where major changes and improvements have been made. There are 13 new element types and a number of new attributes that aim to improve both the user and developer experience of HTML forms. As part of the Drupal 8 HTML 5 Initiative, one of our goals is to add support for all of these elements and attributes. For detailed browser support information and demonstrations, visit http://wufoo.com/html5/.
Proposed plan
Point Person(s)
Related Issues/Discussions
HTML5 Field Widgets
HTML5 Input Types
NOTE: Here's a simple module JR wrote to test the new input types.http://drupal.org/node/1496644
HTML5 Input Attributes
| Name | Specification | Issue(s) |
|---|---|---|
| accept | WHATWG | W3C | |
| autocomplete | WHATWG | W3C | #1275764: Allow FAPI usage of the autocomplete attribute |
| autofocus | WHATWG | W3C | #1174936: Allow FAPI usage of the autofocus attribute |
| dirname | WHATWG | W3C | |
| list (datalist) | WHATWG | W3C | |
| formaction | WHATWG | W3C | |
| formenctype | WHATWG | W3C | |
| formmethod | WHATWG | W3C | |
| formnovalidate | WHATWG | W3C | |
| formtarget | WHATWG | W3C | |
| max | WHATWG | W3C | |
| min | WHATWG | W3C | |
| multiple | WHATWG | W3C | #625958: Support Uploading Multiple Files for HTML5 Browsers via #multiple attribute |
| novalidate | WHATWG | W3C | |
| pattern | WHATWG | W3C | #1174766: Support the #pattern FAPI property for native HTML5 pattern attribute |
| placeholder | WHATWG | W3C | #1174694: Allow FAPI usage of the placeholder attribute #1241938: Add support for #placeholder to relevant Field API widgets |
| required | WHATWG | W3C | #1174938: Natively support the HTML5 #required FAPI property |
| spellcheck | WHATWG | W3C | |
| step | WHATWG | W3C | #1174640: Add new HTML5 FAPI element: number |
New HTML5 Form Elements
| Name | Specification | Issues(s) |
|---|---|---|
| keygen | WHATWG | W3C | |
| meter | WHATWG | W3C | |
| output | WHATWG | W3C | |
| progress | WHATWG | W3C | #1477550: Bring progressbar to the postmodern era |
No comments:
Post a Comment
Thanks for your comment.