Skip to content

Commit 0f80a69

Browse files
committed
chore: Adjust casing of method name
1 parent c282b2b commit 0f80a69

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
@@ -40,7 +40,7 @@ import {Role, setRole, setState, State, Verbosity} from './utils/aria.js';
4040
* @param verbosity How much detail to include in the description.
4141
* @returns The ARIA representation for the specified block.
4242
*/
43-
export function computeARIALabel(
43+
export function computeAriaLabel(
4444
block: BlockSvg,
4545
verbosity = Verbosity.NORMAL,
4646
) {

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';
@@ -1998,7 +1998,7 @@ export class BlockSvg
19981998
* Updates the ARIA label, role and roledescription for this block.
19991999
*/
20002000
private recomputeARIAAttributes() {
2001-
aria.setState(this.getSvgRoot(), aria.State.LABEL, computeARIALabel(this));
2001+
aria.setState(this.getSvgRoot(), aria.State.LABEL, computeAriaLabel(this));
20022002
configureARIARole(this);
20032003
}
20042004
}

0 commit comments

Comments
 (0)