mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -04:00
more working logic and also pretty nice screen reader experience
This commit is contained in:
parent
959aa92656
commit
7b726cbc02
4 changed files with 6 additions and 3 deletions
|
@ -105,6 +105,8 @@ _.extend(Button.prototype, {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
SelectButton = function (attributes) {
|
SelectButton = function (attributes) {
|
||||||
this.attributes = attributes;
|
this.attributes = attributes;
|
||||||
this.options = [];
|
this.options = [];
|
||||||
|
|
|
@ -320,6 +320,7 @@ window.onload = function () {\n\
|
||||||
var outerFrame = document.createElement("IFRAME");
|
var outerFrame = document.createElement("IFRAME");
|
||||||
outerFrame.name = "ace_outer";
|
outerFrame.name = "ace_outer";
|
||||||
outerFrame.frameBorder = 0; // for IE
|
outerFrame.frameBorder = 0; // for IE
|
||||||
|
outerFrame.title = "Ether";
|
||||||
info.frame = outerFrame;
|
info.frame = outerFrame;
|
||||||
document.getElementById(containerId).appendChild(outerFrame);
|
document.getElementById(containerId).appendChild(outerFrame);
|
||||||
|
|
||||||
|
|
|
@ -325,7 +325,7 @@ var padeditbar = (function()
|
||||||
// On left arrow move to next button in editbar
|
// On left arrow move to next button in editbar
|
||||||
if(evt.keyCode === 37){
|
if(evt.keyCode === 37){
|
||||||
editbarPosition--;
|
editbarPosition--;
|
||||||
$(focusItems[editbarPosition]).focus();
|
$(focusItems[editbarPosition]).focus()
|
||||||
}
|
}
|
||||||
|
|
||||||
// On right arrow move to next button in editbar
|
// On right arrow move to next button in editbar
|
||||||
|
|
|
@ -61,12 +61,12 @@
|
||||||
<div id="overlay-inner"></div>
|
<div id="overlay-inner"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ul class="menu_left">
|
<ul class="menu_left" role="toolbar">
|
||||||
<% e.begin_block("editbarMenuLeft"); %>
|
<% e.begin_block("editbarMenuLeft"); %>
|
||||||
<%- toolbar.menu(settings.toolbar.left) %>
|
<%- toolbar.menu(settings.toolbar.left) %>
|
||||||
<% e.end_block(); %>
|
<% e.end_block(); %>
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="menu_right">
|
<ul class="menu_right" role="toolbar">
|
||||||
<% e.begin_block("editbarMenuRight"); %>
|
<% e.begin_block("editbarMenuRight"); %>
|
||||||
<%- toolbar.menu(settings.toolbar.right) %>
|
<%- toolbar.menu(settings.toolbar.right) %>
|
||||||
<% e.end_block(); %>
|
<% e.end_block(); %>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue