[wp-trac] [WordPress Trac] #17863: HTML5 input type=number in admin settings
WordPress Trac
wp-trac at lists.automattic.com
Fri Dec 30 06:40:49 UTC 2011
#17863: HTML5 input type=number in admin settings
----------------------------+------------------------------
Reporter: niallkennedy | Owner: georgestephanis
Type: enhancement | Status: accepted
Priority: normal | Milestone: Future Release
Component: Administration | Version:
Severity: minor | Resolution:
Keywords: needs-patch |
----------------------------+------------------------------
Comment (by georgestephanis):
Replying to [comment:12 azaozz]:
The purpose for this isn't to add in some additional styling for input
types, it's to use the input types themselves. The only reason styling
was mentioned is that (I believe) Webkit adds some undesired styling to
input `type="number"` that needs to be compensated for.
One of the primary advantages of using type="url" type="email" type="tel"
and type="number" is that on mobile devices (tablets/phones) that have
soft keyboards will normally provide the user a custom keyboard based on
the input field type. Phone numbers get a phone keypad. Emails normally
have the `@` sign included in the keyboard somewhere. URLs may have a
`.com` button included.
In doing this, it will make the admin panel a _lot_ more user-friendly for
people on mobile devices, as well as the summum bonum-s of being more
semantic and forward thinking without sacrificing -any- backwards
compatibility. This is purely progressive enhancement. Nothing
whatsoever will display worse than existing in older versions of IE.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17863#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list