#3492: Insert smiley dialog not keyboard accessible
-----------------------------------+----------------------------------------
Reporter: damo | Owner: tobiasz.cudnik
Type: Bug | Status: assigned
Priority: Normal | Milestone: CKEditor 3.0
Component: Accessibility | Version:
Keywords: IBM Confirmed Review- |
-----------------------------------+----------------------------------------
Changes (by martinkou):
* keywords: IBM Confirmed Review? => IBM Confirmed Review-
Comment:
This ticket is somewhat related to Garry's #2924 - but it's different.
While it is tempting to separate the hotkeys into arrow keys for selecting
smileys, and tab/shift-tab for switching between the smileys and the
Cancel button - the arrow keys won't work at all under JAWS. So we still
have to let the user use tab/shift-tab to switch between smileys.
There's already a tab/shift-tab handler hooked by the dialog plugin at the
document root, which is used for switching focus between the dialog's
input widgets. That hotkey handler is triggered by DOM event bubbling. So,
if we were to implement some custom focus logic for a specific dialog
widget (e.g. the smileys table), we can assign a keydown handler to the
widget and call preventDefault() for focus events within the widget. If
the user were to press Tab at the last smiley, we can forgo the
preventDefault() and let the dialog's keydown handler put the focus to the
Cancel button instead. This way, we wouldn't break the dialog's built-in
focus logic, while you can get the smileys to focus just like separate
dialog elements to the user.
So, two changes would be needed:
1. Change the hotkeys to let the user to use Tab/Shift-Tab to switch
smileys.
2. If the user presses tab at the last smiley, allow the keydown event to
bubble up.
3. If the user presses shift-tab at the first smiley, allow the keydown
event to bubble up.
--
Ticket URL: <http://dev.fckeditor.net/ticket/3492#comment:6>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac