diff --git a/typo3/sysext/backend/Resources/Private/Partials/Backend/Topbar.html b/typo3/sysext/backend/Resources/Private/Partials/Backend/Topbar.html index 68ba14e18462a6650d32f28e54c64c59ef702ca4..9c3114dc314b9f233f930d5532686b111c8d4255 100644 --- a/typo3/sysext/backend/Resources/Private/Partials/Backend/Topbar.html +++ b/typo3/sysext/backend/Resources/Private/Partials/Backend/Topbar.html @@ -15,10 +15,10 @@ </span> </a> </div> - <button class="topbar-button topbar-button-toolbar t3js-topbar-button-toolbar"> + <button class="topbar-button topbar-button-toolbar t3js-topbar-button-toolbar" title="{f:translate(key: 'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:toolbarItems.toolbarOpenClose')}" aria-label="{f:translate(key: 'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:toolbarItems.toolbarOpenClose')}"> <core:icon identifier="actions-system-extension-configure" alternativeMarkupIdentifier="inline" /> </button> - <button class="topbar-button topbar-button-search t3js-topbar-button-search"> + <button class="topbar-button topbar-button-search t3js-topbar-button-search" title="{f:translate(key: 'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:toolbarItems.searchbarOpenClose')}" aria-label="{f:translate(key: 'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:toolbarItems.searchbarOpenClose')}"> <core:icon identifier="actions-search" alternativeMarkupIdentifier="inline" /> </button> </div> @@ -36,7 +36,7 @@ <f:variable name="disabled" value="{f:if(condition: '!{enabled}', then: 1, else: 0)}" /> <f:variable name="disabledAttr" value="{f:if(condition: '{disabled}', then: 'disabled')}" /> - <button {disabledAttr} class="topbar-button {classes}" title="{title}"> + <button {disabledAttr} class="topbar-button {classes}" title="{title}" aria-label="{title}"> <f:render section="Icon" arguments="{identifier: icon, disabled: disabled}" /> </button> </f:section> diff --git a/typo3/sysext/core/Resources/Private/Language/locallang_core.xlf b/typo3/sysext/core/Resources/Private/Language/locallang_core.xlf index e4263bde752984d567f98da367721cb3b6bed4eb..cc480268c4151edac0a7b589a099a52d0bd32ac1 100644 --- a/typo3/sysext/core/Resources/Private/Language/locallang_core.xlf +++ b/typo3/sysext/core/Resources/Private/Language/locallang_core.xlf @@ -1188,6 +1188,12 @@ Do you want to refresh it now?</source> <trans-unit id="toolbarItems.search" resname="toolbarItems.search"> <source>Search</source> </trans-unit> + <trans-unit id="toolbarItems.toolbarOpenClose" resname="toolbarItems.toolbarOpenClose"> + <source>Open/Close toolbar</source> + </trans-unit> + <trans-unit id="toolbarItems.searchbarOpenClose" resname="toolbarItems.searchbarOpenClose"> + <source>Open/Close searchbar</source> + </trans-unit> <trans-unit id="toolbarItems.workspace" resname="toolbarItems.workspace"> <source>Workspace</source> </trans-unit>