[wp-trac] [WordPress Trac] #33301: Create and edit links inline
WordPress Trac
noreply at wordpress.org
Fri Feb 26 13:49:05 UTC 2016
#33301: Create and edit links inline
-------------------------+-------------------------------------------------
Reporter: iseulde | Owner: azaozz
Type: task | Status: assigned
(blessed) | Milestone: 4.5
Priority: normal | Version:
Component: Editor | Resolution:
Severity: normal | Focuses: ui, accessibility, javascript,
Keywords: needs-patch | administration
-------------------------+-------------------------------------------------
Comment (by afercia):
Sorry for the confusion about the Spacebar. The original issue reported
was:
Win 10 using FF and Keyboard.
Keyboard: I also forgot to mention that using the spacebar instead of
Enter when creating a link using the keyboard will make it so a line break
does not occur after the text link.
I assumed it was about the "Apply" button, which seems to work for me also
with Spacebar. Maybe at some point it was also inserting a space after the
link?
By the way, one of the main issues is '''initial focus'''. Using the
keyboard, the first time you open the toolbar, focus correctly goes to the
input field. This is extremely important because the input field gets
announced as:
> Paste URL or type to search combo box collapsed has auto complete
editable
giving this way a complete information to users. (ignore "has auto
complete" which is announced for any input field and has to do with the
browser feature to remember what you entered in input fields).
After the first time though, focus goes to the last element that had focus
in the toolbar. So if users tabbed to "Apply" or "Advanced", when they
open again the toolbar they will hear just:
> Toolbar Apply button
which is pretty confusing. They will have to figure out they have to tab
backwards to find the input field.
As far as I see this is a TinyMCE toolbars "feature", for example it
happens also in the main buttons toolbar. To reproduce:
- press Alt+F10 and then tab, say, to the "Blockquote" button
- press Escape to move focus back to the editing area
- press Alt+F10 again
- TinyMCE "remembers" the last focused element in the toolbar and will
move focus to the "Blockquote" button
While this feature may (or may not?) be useful in the buttons toolbar,
it's really confusing in the link inline toolbar. I'd recommend to try to
disable it or try to always force initial focus on the input field.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33301#comment:42>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list