[wp-trac] [WordPress Trac] #40331: The placeholder attribute should not be used as a replacement for a label
WordPress Trac
noreply at wordpress.org
Fri Apr 21 15:21:30 UTC 2017
#40331: The placeholder attribute should not be used as a replacement for a label
---------------------------------------+--------------------------------
Reporter: afercia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-screenshots a11y-task | Focuses: ui, accessibility
---------------------------------------+--------------------------------
Comment (by afercia):
Important news: The `placeholder` and `aria-placeholder` attributes are
going to don't contribute any longer to the accessible name computation,
so that's one more reason to don't use them as replacement for labels.
It is not intended for that usage.
https://twitter.com/stevefaulkner/status/854632033515122688
See also:
https://github.com/w3c/html-aam/issues/87
https://w3c.github.io/html-aam/#att-placeholder
https://bugzilla.mozilla.org/show_bug.cgi?id=1303429
https://bugs.chromium.org/p/chromium/issues/detail?id=713600
https://developer.microsoft.com/en-us/microsoft-
edge/platform/issues/11729402/
This is more and more something that should be brought to every designers
attention! 🙂
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40331#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list