summaryrefslogtreecommitdiff
path: root/src/node/utils/toolbar.js
diff options
context:
space:
mode:
authorJohn McLear <john@mclear.co.uk>2015-04-07 21:25:27 +0100
committerJohn McLear <john@mclear.co.uk>2015-04-07 21:25:27 +0100
commita5345524e1b37ddc529ef3c14abab511a38fb645 (patch)
treec8487341647aaa91b14b27644abaa55adb48071c /src/node/utils/toolbar.js
parenta2e6a1bb4f2035716df4195c40382c3fc991535a (diff)
parent7e99724feca660bbf97d1dec98457e79a6b861f1 (diff)
downloadetherpad-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.js10
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",