Skip to content

Commit 3a9ebc3

Browse files
committed
chore: Fix method casing
1 parent 7197831 commit 3a9ebc3

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/blockly/core/block_aria_composer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export function computeAriaLabel(
6565
* @internal
6666
* @param block The block to set ARIA role and roledescription attributes on.
6767
*/
68-
export function configureARIARole(block: BlockSvg) {
68+
export function configureAriaRole(block: BlockSvg) {
6969
setRole(block.getSvgRoot(), block.isInFlyout ? Role.LISTITEM : Role.FIGURE);
7070

7171
let roleDescription = Msg['BLOCK_LABEL_STATEMENT'];

packages/blockly/core/block_svg.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import './events/events_selected.js';
1616

1717
import {Block} from './block.js';
1818
import * as blockAnimations from './block_animations.js';
19-
import {computeAriaLabel, configureARIARole} from './block_aria_composer.js';
19+
import {computeAriaLabel, configureAriaRole} from './block_aria_composer.js';
2020
import * as browserEvents from './browser_events.js';
2121
import {BlockCopyData, BlockPaster} from './clipboard/block_paster.js';
2222
import * as common from './common.js';
@@ -1999,6 +1999,6 @@ export class BlockSvg
19991999
*/
20002000
private recomputeARIAAttributes() {
20012001
aria.setState(this.getSvgRoot(), aria.State.LABEL, computeAriaLabel(this));
2002-
configureARIARole(this);
2002+
configureAriaRole(this);
20032003
}
20042004
}

0 commit comments

Comments
 (0)