[wp-trac] [WordPress Trac] #27553: Make WP editor toggle focusable
WordPress Trac
noreply at wordpress.org
Wed Sep 24 18:28:13 UTC 2014
#27553: Make WP editor toggle focusable
--------------------------+-----------------------------
Reporter: joedolson | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Editor | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch | Focuses: accessibility
--------------------------+-----------------------------
Comment (by afercia):
New attached patch tries to use buttons.
I can't test in IE 9+ so please I need some feedback :)
There are still some issues:
- maybe add some "screen-reader-text" to the buttons text, or a
describedby to give context to "Visual" and "Text"
- in IE (at least IE 8) when you activate the buttons, their text shifts 1
pixel down and right, this can be fixed but it's not so easy, the only way
I'm aware of at the moment requires as first step to give buttons a fixed
width... definitely not good for translations (unpredictable text length).
Some CSS-fu stronger than mine is welcome, otherwise I'd recommend to live
with the 1 pixel shift
- when switching between Visual and Text editor, focus behaviour is
inconsistent between browsers but this probably needs a separate ticket
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27553#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list