Accessibility: call Ace blur when using keyboard

245 views
Skip to first unread message

Ryan Griffith

unread,
May 23, 2013, 8:23:43 AM5/23/13
to ace-d...@googlegroups.com
We're working on adding a UI wrapper to the editor and have added the ability to tab through our UI for increased accessibility. I noticed once Ace gains focus, there is no obvious way to remove focus, or at least not that I can find. Is there currently a keyboard shortcut for this, or do we have to add one ourselves? If there is no shortcut, is there anything in the works by chance (don't want to reinvent the wheel here)?

Thanks!

Harutyun Amirjanyan

unread,
May 23, 2013, 3:22:08 PM5/23/13
to ace-d...@googlegroups.com
tab can't be used for tab through because it is needed for indentation
you can disable it editor.commands.bindKey("Tab", null)

or call editor.blur
or just focus another element when you need
if you have consoleTxtBox which should be focused when pressing ctrl-` do
editor.commands.bindKey("ctrl-`", function() {consoleTxtBox.focus()})

anuvrat...@gmail.com

unread,
Oct 16, 2015, 6:02:13 AM10/16/15
to Ajax.org Cloud9 Editor (Ace)
Hi,

I am able to hook up any event, I am not able to bind "ctrl+Tab", chrome does not let it happen...
Is there a way to force it?
 Thanks!
 

Harutyun Amirjanyan

unread,
Oct 16, 2015, 3:28:14 PM10/16/15
to ace-d...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "Ajax.org Cloud9 Editor (Ace)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ace-discuss...@googlegroups.com.
To post to this group, send email to ace-d...@googlegroups.com.
Visit this group at http://groups.google.com/group/ace-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages