Opened 16 years ago

Last modified 16 years ago

#4650 closed Bug

Can not select image when navigating text with arrow keys. — at Version 5

Reported by: Joe Kavanagh Owned by: Garry Yao
Priority: Normal Milestone: CKEditor 3.3
Component: Accessibility Version: 3.0.1
Keywords: IBM Confirmed Review? Cc: dchojna@…

Description (last modified by Frederico Caldeira Knabben)

  1. Add some text, insert an image, and add some more text after the image.
  2. Using the left arrow key move the cursor back to select the image.

Observe that the cursor by-passes the image an moves to the text before the image. This prevents the user from opening the image context menu using the keyboard.

Change History (6)

comment:1 Changed 16 years ago by Joe Kavanagh

This is also occurring for flash objects.

comment:2 Changed 16 years ago by Frederico Caldeira Knabben

Keywords: Confirmed added
Milestone: CKEditor 3.1CKEditor 3.2

This may be a browser limitation. We need to check if it's possible to workaround it.

comment:3 Changed 16 years ago by Garry Yao

@fred That's exactly what been proposed these days at Mozilla.
https://wiki.mozilla.org/Accessibility/EditorBehaviourOnUserInput

Changed 16 years ago by Garry Yao

Attachment: 4650.patch added

comment:4 Changed 16 years ago by Garry Yao

Keywords: Review? added
Owner: set to Garry Yao
Status: newassigned

It's definitely a browser bug, and has appearance on both IE and Firefox (works with Webkit for me right now).
Even worse, this phenomenon happens to every type of control ( checkbox, img, select) in condition that the element is surrounded by text. Most unfortunately, due to #703 and #3069, what been impacted is that SHIFT+ARROW keys/mouse drag will be the only way for selecting such elements in FF3.
Considering the wide affecting of this bug, I'm proposing an fall-back range inspection approach to selection.getSelectedElement to correctly figure out the element underhood.
Then we'll be sitting and looking for the real fix at the browser side.

comment:5 Changed 16 years ago by Frederico Caldeira Knabben

Description: modified (diff)
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy