[buddypress-trac] [BuddyPress Trac] #5914: Registration form: Proposed enhancements for touch devices
buddypress-trac
noreply at wordpress.org
Fri Jan 2 04:56:31 UTC 2015
#5914: Registration form: Proposed enhancements for touch devices
--------------------------------------+------------------
Reporter: standardspace | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.2
Component: Theme / Template Parts | Version:
Severity: normal | Resolution:
Keywords: good-first-bug has-patch |
--------------------------------------+------------------
Changes (by r-a-y):
* keywords: good-first-bug => good-first-bug has-patch
Comment:
> As to us employing these I'm still not sure it feels right, but as r-a-y
points out some of these are mobile specific so we would need to apply
them only if mobile device detected really, either using wp_is_mobile() or
building our own device detection class
Any type of `wp_is_mobile()` checks will require us to make some type of
helper function like `bp_signup_field_attributes()` to output the
attributes with the function being called in the registration template.
`5914.bp_signup_field_attributes.patch` is a patch based off this idea
with the following set:
* Password - `spellcheck="false" autocomplete="off" autocapitalize="off"
autocorrect="off"`
* Email - `autocapitalize="off"`
* Username - `autocomplete="off"` (not adding `autocapitalize` here
because BP's username compatibility might be on, and WP accepts uppercase
characters in this case).
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5914#comment:10>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list