@@ -54,22 +54,22 @@ import TilePanel from './TilePanel';
5454import { ReactComponent as HiddenBlock } from './svg/Hidden.svg' ;
5555import KeyboardInputModal from './KeyboardInputModal' ;
5656import ShareModal from './ShareModal' ;
57- import { ReactComponent as ShareIcon } from './svg/Share.svg' ;
57+ import { ReactComponent as ShareIcon } from './svg/Share.svg' ;
5858
5959import type { ActionName , KeyboardInputSchemeName } from './KeyboardInputSchemes' ;
6060import { findKeyboardEventSequenceMatches , isRepeatedEvent , isKeyboardInputSchemeName } from './KeyboardInputSchemes' ;
6161import { ReactComponent as AudioIcon } from './svg/Audio.svg' ;
62- import { ReactComponent as KeyboardModalToggleIcon } from './svg/Keyboard.svg' ;
62+ import { ReactComponent as KeyboardModalToggleIcon } from './svg/Keyboard.svg' ;
6363import { ReactComponent as ThemeIcon } from './svg/Theme.svg' ;
6464import { ReactComponent as WorldIcon } from './svg/World.svg' ;
6565import { ReactComponent as ActionsMenuToggleIcon } from './svg/Simplification.svg'
6666import ProgramChangeController from './ProgramChangeController' ;
6767import PrivacyModal from './PrivacyModal' ;
6868
69- import { ReactComponent as LogoContrast } from './svg/LogoContrast.svg' ;
70- import { ReactComponent as LogoGrayscale } from './svg/LogoGrayscale.svg' ;
71- import { ReactComponent as LogoDark } from './svg/LogoDark.svg' ;
72- import { ReactComponent as LogoMixedAndLight } from './svg/LogoMixedAndLight.svg' ;
69+ import { ReactComponent as LogoContrast } from './svg/LogoContrast.svg' ;
70+ import { ReactComponent as LogoGrayscale } from './svg/LogoGrayscale.svg' ;
71+ import { ReactComponent as LogoDark } from './svg/LogoDark.svg' ;
72+ import { ReactComponent as LogoMixedAndLight } from './svg/LogoMixedAndLight.svg' ;
7373
7474function getThemeLogo ( theme : ThemeName ) {
7575 if ( theme === "contrast" ) { return LogoContrast ; }
@@ -989,7 +989,7 @@ export class App extends React.Component<AppProps, AppState> {
989989 className = 'command-block--hidden'
990990 key = { `CommandBlock-${ index } ` }
991991 aria-hidden = 'true' >
992- < HiddenBlock />
992+ < HiddenBlock aria-hidden = { true } />
993993 </ div >
994994 ) ;
995995 }
@@ -1315,28 +1315,40 @@ export class App extends React.Component<AppProps, AppState> {
13151315 ariaLabel = { this . props . intl . formatMessage ( { id : 'SoundOptionsModal.title' } ) }
13161316 onClick = { this . handleClickSoundIcon }
13171317 >
1318- < AudioIcon className = 'App__header-soundOptions-icon' />
1318+ < AudioIcon
1319+ className = 'App__header-soundOptions-icon'
1320+ aria-hidden = { true }
1321+ />
13191322 </ IconButton >
13201323 < IconButton
13211324 className = "App__header-themeSelectorIcon"
13221325 ariaLabel = { this . props . intl . formatMessage ( { id : 'ThemeSelector.iconButton' } ) }
13231326 onClick = { this . handleClickThemeSelectorIcon }
13241327 >
1325- < ThemeIcon className = 'App__header-theme-icon' />
1328+ < ThemeIcon
1329+ className = 'App__header-theme-icon'
1330+ aria-hidden = { true }
1331+ />
13261332 </ IconButton >
13271333 < IconButton
13281334 className = "App__header-keyboardMenuIcon"
13291335 ariaLabel = { this . props . intl . formatMessage ( { id : 'KeyboardInputModal.ShowHide.AriaLabel' } ) }
13301336 onClick = { this . handleClickKeyboardIcon }
13311337 >
1332- < KeyboardModalToggleIcon className = 'App__header-keyboard-icon' />
1338+ < KeyboardModalToggleIcon
1339+ className = 'App__header-keyboard-icon'
1340+ aria-hidden = { true }
1341+ />
13331342 </ IconButton >
13341343 < IconButton className = "App__ActionsMenu__toggle-button"
13351344 ariaLabel = { this . props . intl . formatMessage ( { id : 'ActionsMenu.toggleActionsMenu' } ) }
13361345 disabled = { this . isEditingDisabled ( ) }
13371346 onClick = { this . handleClickActionsSimplificationIcon }
13381347 >
1339- < ActionsMenuToggleIcon className = 'App__header-actionsMenu-icon' />
1348+ < ActionsMenuToggleIcon
1349+ className = 'App__header-actionsMenu-icon'
1350+ aria-hidden = { true }
1351+ />
13401352 </ IconButton >
13411353 </ div >
13421354 </ div >
@@ -1391,7 +1403,10 @@ export class App extends React.Component<AppProps, AppState> {
13911403 ariaLabel = { this . props . intl . formatMessage ( { id : 'WorldSelectorButton.label' } ) }
13921404 onClick = { this . handleClickWorldIcon }
13931405 >
1394- < WorldIcon className = 'App__world-selector-icon' />
1406+ < WorldIcon
1407+ className = 'App__world-selector-icon'
1408+ aria-hidden = { true }
1409+ />
13951410 </ IconButton >
13961411 < CustomBackgroundDesignModeButton
13971412 customBackgroundDesignMode = { this . state . customBackgroundDesignMode }
@@ -1566,7 +1581,10 @@ export class App extends React.Component<AppProps, AppState> {
15661581 className = 'App__ShareButton'
15671582 onClick = { this . handleShareButtonClick }
15681583 >
1569- < ShareIcon className = 'App__ShareButton__icon' />
1584+ < ShareIcon
1585+ className = 'App__ShareButton__icon'
1586+ aria-hidden = { true }
1587+ />
15701588 < div className = 'App__ShareButton__label' >
15711589 { this . props . intl . formatMessage ( { id :'ShareButton' } ) }
15721590 </ div >
0 commit comments