File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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' ] ;
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import './events/events_selected.js';
1616
1717import { Block } from './block.js' ;
1818import * as blockAnimations from './block_animations.js' ;
19- import { computeAriaLabel , configureARIARole } from './block_aria_composer.js' ;
19+ import { computeAriaLabel , configureAriaRole } from './block_aria_composer.js' ;
2020import * as browserEvents from './browser_events.js' ;
2121import { BlockCopyData , BlockPaster } from './clipboard/block_paster.js' ;
2222import * 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}
You can’t perform that action at this time.
0 commit comments