[wp-trac] [WordPress Trac] #23938: Placeholder attributes for input elements don't show in IE
WordPress Trac
noreply at wordpress.org
Thu Apr 4 21:54:05 UTC 2013
#23938: Placeholder attributes for input elements don't show in IE
--------------------------+--------------------
Reporter: Ipstenu | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.6
Component: Post Formats | Version: trunk
Severity: major | Resolution:
Keywords: has-patch |
--------------------------+--------------------
Comment (by azaozz):
Yeah, currently the .ie8 class is added on the <html> tag with
[http://core.trac.wordpress.org/browser/trunk/wp-
admin/includes/template.php#L1697 conditional comments]. For IE7 we load
`ie.css`.
We probably should switch to using the same code as the
[http://core.trac.wordpress.org/browser/trunk/wp-includes/class-wp-admin-
bar.php#L335 toolbar] for that. Even if we drop IE7 support soon, IE8 and
9 will be around for quite some time and it's nice to be able to tweak the
admin css for them.
We can't hide the labels with `display: none;`, need to do it with the
screen-reader-text class. Looking at all formats, only the Quote format
fields seem to need visible labels. All the rest get a nice "helper text"
above the fields and work well with or without the placeholders.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23938#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list