mirror of
https://github.com/google/blockly.git
synced 2026-01-10 02:17:09 +01:00
fix: Add 'blocks' to toolbox category ARIA labels (#9504)
This commit is contained in:
@@ -307,6 +307,7 @@ export class ToolboxCategory
|
||||
if (className) {
|
||||
dom.addClass(toolboxLabel, className);
|
||||
}
|
||||
aria.setState(toolboxLabel, aria.State.LABEL, `${name} blocks`);
|
||||
return toolboxLabel;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user