more working logic and also pretty nice screen reader experience

pull/2566/head
John McLear 2015-03-26 13:58:57 +00:00
parent 959aa92656
commit 7b726cbc02
4 changed files with 6 additions and 3 deletions

View File

@ -105,6 +105,8 @@ _.extend(Button.prototype, {
}
});
SelectButton = function (attributes) {
this.attributes = attributes;
this.options = [];

View File

@ -320,6 +320,7 @@ window.onload = function () {\n\
var outerFrame = document.createElement("IFRAME");
outerFrame.name = "ace_outer";
outerFrame.frameBorder = 0; // for IE
outerFrame.title = "Ether";
info.frame = outerFrame;
document.getElementById(containerId).appendChild(outerFrame);

View File

@ -325,7 +325,7 @@ var padeditbar = (function()
// On left arrow move to next button in editbar
if(evt.keyCode === 37){
editbarPosition--;
$(focusItems[editbarPosition]).focus();
$(focusItems[editbarPosition]).focus()
}
// On right arrow move to next button in editbar

View File

@ -61,12 +61,12 @@
<div id="overlay-inner"></div>
</div>
<ul class="menu_left">
<ul class="menu_left" role="toolbar">
<% e.begin_block("editbarMenuLeft"); %>
<%- toolbar.menu(settings.toolbar.left) %>
<% e.end_block(); %>
</ul>
<ul class="menu_right">
<ul class="menu_right" role="toolbar">
<% e.begin_block("editbarMenuRight"); %>
<%- toolbar.menu(settings.toolbar.right) %>
<% e.end_block(); %>