Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update library/extensions/comments-extensions.php #18

Merged
merged 1 commit into from
Jan 10, 2013

Conversation

coliff
Copy link
Contributor

@coliff coliff commented Aug 16, 2012

Changed type="text" to type="email" for the email input.
Changed type="text" to type="url" for the web address.
These HTML5 attributes are 100% backwards compatible and revert to type="text" for older browsers which ignore these input types. For modern browsers, the input types can be helpful such as validating email address before submitting and custom keyboard types on iOS devices.
Some info on the types here: http://diveintohtml5.info/forms.html

Changed type="text" to type="email" for the email input.
Changed type="text" to type="url" for the web address.
These HTML5 attributes are 100% backwards compatible and revert to type="text" for older browsers which ignore these input types.
Some info on the types here: http://diveintohtml5.info/forms.html
@middlesister
Copy link
Member

Yes, I am aware of the fact that these form elements degrade gracefully. And it is a easy thing to add this for better ios experience.

That said, we are focusing on the translation strings for the upcoming 1.0.3 release. The question of adding html5 elements to thematic is still an open discussion and no decision has been made yet. I will hold off on merging until a future release.

You can filter thematic_comment_form_args in the meantime

@ghost
Copy link

ghost commented Jan 8, 2013

@middlesister I'm ok with your merging this for the upcoming release

middlesister added a commit that referenced this pull request Jan 10, 2013
Update library/extensions/comments-extensions.php
@middlesister middlesister merged commit 222c858 into ThematicTheme:master Jan 10, 2013
@middlesister
Copy link
Member

Done. Thanks @coliff!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants