[wp-meta] [Making WordPress.org] #626: Capture tab events in the Notes submission box on Code Reference pages
Making WordPress.org
noreply at wordpress.org
Wed Jun 1 20:55:36 UTC 2016
#626: Capture tab events in the Notes submission box on Code Reference pages
---------------------------+------------------
Reporter: DrewAPicture | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Developer Hub | Resolution:
Keywords: ux-feedback |
---------------------------+------------------
Comment (by afercia):
There was a similar issue in the admin Plugin and Theme editors that use
the `Tab` key to insert a tab character. That made impossible for keyboard
users to tab out from the textarea :) See
https://core.trac.wordpress.org/ticket/31415 where the solution
implemented was to use `Escape` and then Tab to exit the textarea. Escape
seems the most intuitive key press users would try but worth considering
changing native behaviours (the default tab press action) should be
avoided.
On other applications I've seen a choice offered to users, for example a
checkbox to change the behaviour of the `Enter` key (Submit or enter a new
line). I'm not recommending that, just something worth considering.
The most important thing would be informing users about what the Tab key
does and how they can move outside from the textarea. Some descriptive
text before the textarea would probably be be a good idea.
Side note: using Escape, screen reader users would probably need to press
Escape twice, the first time to exit "forms mode" (a screen reader thing)
and the second time to make the Tab key able to exit the textarea.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/626#comment:5>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list