[wp-trac] [WordPress Trac] #23614: Twenty Thirteen: Comment author's email and url field should of type email and url respectively.
WordPress Trac
noreply at wordpress.org
Tue Feb 26 00:36:40 UTC 2013
#23614: Twenty Thirteen: Comment author's email and url field should of type email
and url respectively.
-----------------------------+---------------------------
Reporter: azizur | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Bundled Theme
Version: trunk | Severity: normal
Keywords: |
-----------------------------+---------------------------
Twenty Thirteen: Comment author's email and url field should of type email
and url respectively.
The Advantages to Using type="email" and type="url"
There are a few advantages to using these special INPUT types:
* You can easily style all email INPUT elements with input[type=email]
* You can easily style all url INPUT elements with input[type=url]
* This INPUT type could be considered more semantically correct.
* Mobile accessibility: if your user is browsing with an iPhone and they
arrive at a special email input, the iPhone will display a keyboard with
the @ symbol provided on the primary screen. If the INPUT is of type
"url", the iPhone will display the ".com" button on the primary keyboard
screen.
* You can use the [http://www.w3.org/TR/css3-ui/#pseudo-validity css
pseudo-validity] to style the :valid and :invalid
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23614>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list