[wp-trac] [WordPress Trac] #42390: TinyMCE + Edge input:focus placeholders disappear
WordPress Trac
noreply at wordpress.org
Tue Jan 16 14:11:42 UTC 2018
#42390: TinyMCE + Edge input:focus placeholders disappear
------------------------------+--------------------------------------------
Reporter: Cybr | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.9.2
Component: Administration | Version: 4.9
Severity: normal | Resolution:
Keywords: has-patch needs- | Focuses: ui, accessibility, javascript
refresh |
------------------------------+--------------------------------------------
Changes (by afercia):
* keywords: has-patch => has-patch needs-refresh
Comment:
I'd agree this seems more something for a major release.
> It turns out that quite a few plugins have adopted the *-prompt-text
approach from core
Maybe the scripts could be kept and then find a way to not use them in
core?
A few notes on the patch:
- the patch didn't apply cleanly for me, needs a refresh
- `wptitlehint` would need to be removed from the variable declarations at
the top of the `post.js` file but if we keep the scripts I guess it should
stay
- the relevant CSS should be removed, but if we keep the scripts I guess
it should stay too
More importantly: using the same text for both the visually hidden labels
and the placeholder attributes should be avoided, as it would be redundant
and not so useful for users. Currently, the same text is announced twice
by screen readers:
- in the post screen: label = Enter title here, placeholder = Enter title
here
- dashboard quick draft: label = What's on your mind?, placeholder =
What's on your mind?
Maybe simplifying the label text would be enough:
- in the post screen: label = Title, placeholder = Enter title here
- dashboard quick draft: label = Title, placeholder = What's on your mind?
Not sure about the quick draft title, which would be announced as "Title
Title". Maybe make it consistent with the post title? " Title Enter title
here"?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42390#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list