[wp-trac] [WordPress Trac] #30490: TinyMCE: switch editor tabs focus style
WordPress Trac
noreply at wordpress.org
Sat Nov 29 23:17:37 UTC 2014
#30490: TinyMCE: switch editor tabs focus style
-------------------------+--------------------------------
Reporter: afercia | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: TinyMCE | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: ui, accessibility
-------------------------+--------------------------------
Comment (by azaozz):
The problem is that the Text tab/button remains focused after clicking it.
With the above patch the blue outline is visible and doesn't look right.
The Visual tab remains focused too but TinyMCE moves the focus to the
iframe on show, so this is less noticeable. Don't see a good way to fix
this from CSS, i.e. have a :focus styling and not show it on click.
Trying to focus the Text editor (textarea) on clicking the Text button may
behave unexpectedly in different browsers (Chrome tries to scroll-into-
view to the bottom of long posts, etc.). Even if we get that to work
right, it will be a change of behavior for the Text editor "tabbing" as it
will "jump over" all buttons.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30490#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list