Use a shorter name for the toolbox category aria labels.

This commit is contained in:
Sean Lip
2016-08-03 14:57:45 -07:00
parent 9f22701a42
commit 69c887c998

View File

@@ -120,7 +120,7 @@ blocklyApp.ToolboxComponent = ng.core
return this.treeService.getActiveDescId('blockly-toolbox-tree');
},
getCategoryAriaLabel: function(categoryName) {
return 'toolbox category ' + categoryName;
return categoryName + ' category';
},
getToolboxWorkspace: function(categoryNode) {
if (categoryNode.attributes && categoryNode.attributes.name) {