Opened 12 years ago
Closed 12 years ago
#23614 closed defect (bug) (duplicate)
Twenty Thirteen: Comment author's email and url field should of type email and url respectively.
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.6 |
Component: | Bundled Theme | Keywords: | |
Focuses: | Cc: |
Description
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 css pseudo-validity to style the :valid and :invalid
Attachments (3)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Comment form on iOS