[wp-trac] [WordPress Trac] #27553: Make WP editor toggle focusable
WordPress Trac
noreply at wordpress.org
Wed Sep 24 20:40:18 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 sharonaustin):
Replying to [comment:12 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
This patch was tested here: http://red-hound.com/trunk29764/trunk/src/
and has real success! Woot! Woot! afercia is right, more work is
required, because it works but requires a specific sequence (TBD)...but
but it WORKS! Major thanks to afercia, Joe, Gary, avryl, nacin.
The button concept seems to be the kernel of the solution.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27553#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list