Make WordPress Core

Opened 11 years ago

Closed 11 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: azizur's profile azizur 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)

95F330EA-CA20-4A72-AFDF-B864528AC423.PNG (49.4 KB) - added by azizur 11 years ago.
Comment form on iOS
145E4CA4-FF5D-4394-99E0-729B50695C98.PNG (45.9 KB) - added by azizur 11 years ago.
Comment form url on iOS
comment-form-patch.patch (1.5 KB) - added by azizur 11 years ago.
Comment form patch

Download all attachments as: .zip

Change History (4)

@azizur
11 years ago

Comment form on iOS

@azizur
11 years ago

Comment form url on iOS

@azizur
11 years ago

Comment form patch

#1 @SergeyBiryukov
11 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #15080.

Note: See TracTickets for help on using tickets.