diff options
author | John McLear <john@mclear.co.uk> | 2015-04-07 21:25:27 +0100 |
---|---|---|
committer | John McLear <john@mclear.co.uk> | 2015-04-07 21:25:27 +0100 |
commit | a5345524e1b37ddc529ef3c14abab511a38fb645 (patch) | |
tree | c8487341647aaa91b14b27644abaa55adb48071c /src/node/utils/toolbar.js | |
parent | a2e6a1bb4f2035716df4195c40382c3fc991535a (diff) | |
parent | 7e99724feca660bbf97d1dec98457e79a6b861f1 (diff) | |
download | etherpad-lite-a5345524e1b37ddc529ef3c14abab511a38fb645.zip |
Merge pull request #2566 from ether/editbar-accessibility
Accessibility
Diffstat (limited to 'src/node/utils/toolbar.js')
-rw-r--r-- | src/node/utils/toolbar.js | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/node/utils/toolbar.js b/src/node/utils/toolbar.js index a5d30f96..07b86496 100644 --- a/src/node/utils/toolbar.js +++ b/src/node/utils/toolbar.js @@ -99,12 +99,14 @@ _.extend(Button.prototype, { }; return tag("li", liAttributes, tag("a", { "class": this.grouping, "data-l10n-id": this.attributes.localizationId }, - tag("span", { "class": " "+ this.attributes.class }) + tag("button", { "class": " "+ this.attributes.class, "data-l10n-id": this.attributes.localizationId }) ) ); } }); + + SelectButton = function (attributes) { this.attributes = attributes; this.options = []; @@ -208,6 +210,12 @@ module.exports = { class: "buttonicon buttonicon-import_export" }, + timeslider_settings: { + command: "settings", + localizationId: "pad.toolbar.settings.title", + class: "buttonicon buttonicon-settings" + }, + timeslider_returnToPad: { command: "timeslider_returnToPad", localizationId: "timeslider.toolbar.returnbutton", |