﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
14800	Pressing Down or Right arrow on a page with a DIV contained CKEditor, steals focus and places it in the RTE.	Jesse Hausler		"


== Steps to reproduce ==

1. go to a page with a DIV contained ckeditor
2. tab past the editor
3. press the down or right arrow key

== Expected result ==
nothing happens, unless I specify page changes based on these key events 

== Actual result ==
Focus is moved to the nearest editor. This causes major accessibility issues for keyboard and screen reader users. 

== Other details (browser, OS, CKEditor version, installed plugins) ==


1. CKE listens to the down key and left key (along with some other events) on ""document"" object.

2. it perform a check if the browser is of type webkit before it removes the 0 width space char

3. Code which does this https://github.com/ckeditor/ckeditor-dev/blob/master/core/selection.js#L720

4. While removing this char it fires the focus event to make CKE focusable but never gains the focus back to original element.

5. CKE can be used in 2 modes - one with iFrame contained and one with DIV contained. when iFrame contained  this issues doesn't happen because ""document"" object that looks for event is iframe specific. Only key events fired in iFrame context gets through this code not the entire page keyevents. 

6. When CKE is DIV contained - key events for the entire page gets handled."	Bug	confirmed	Normal		General	4.0		Webkit	
