diff --git a/src/core/js/accessibility.js b/src/core/js/accessibility.js
index 42d2cf2e8..839e8ba0f 100644
--- a/src/core/js/accessibility.js
+++ b/src/core/js/accessibility.js
@@ -116,6 +116,26 @@ define(function(require) {
return $.a11y_normalize(text);
});
+ Handlebars.registerHelper('a11y_aria_label', function(text) {
+ return '
'+text+'
';
+ });
+
+ Handlebars.registerHelper('a11y_aria_label_relative', function(text) {
+ return ''+text+'
';
+ });
+
+ Handlebars.registerHelper('a11y_wrap_focus', function(text) {
+ return ' ';
+ });
+
+ Handlebars.registerHelper('a11y_attrs_heading', function(level) {
+ return ' role="heading" aria-level="'+level+'" tabindex="0" ';
+ });
+
+ Handlebars.registerHelper('a11y_attrs_tabbable', function() {
+ return ' role="region" tabindex="0" ';
+ });
+
},
setupToggleButton: function() {