Improved the behavior for the page logo
authorAlexander Ebert <ebert@woltlab.com>
Wed, 12 Jan 2022 15:31:22 +0000 (16:31 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 12 Jan 2022 15:31:22 +0000 (16:31 +0100)
com.woltlab.wcf/templates/pageHeaderLogo.tpl

index 42f19137c35eacf51c50758d846e3d658ea09718..ecb93de867a9a1b0e2f409b83cc7972d29de1011 100644 (file)
@@ -1,15 +1,15 @@
 <div id="pageHeaderLogo" class="pageHeaderLogo">
        {if MODULE_WCF_AD && $__disableAds|empty}{@$__wcf->getAdHandler()->getAds('com.woltlab.wcf.logo')}{/if}
        
-       <a href="{if PAGE_LOGO_LINK_TO_APP_DEFAULT}{link application=$__wcf->getActiveApplication()->getAbbreviation()}{/link}{else}{link}{/link}{/if}">
+       <a href="{if PAGE_LOGO_LINK_TO_APP_DEFAULT}{link application=$__wcf->getActiveApplication()->getAbbreviation()}{/link}{else}{link}{/link}{/if}" aria-title="{PAGE_TITLE|language}">
                <img src="{$__wcf->getStyleHandler()->getStyle()->getPageLogo()}" alt="" class="pageHeaderLogoLarge"{*
                        *}{if $__wcf->getStyleHandler()->getStyle()->getVariable('pageLogoHeight')} height="{@$__wcf->getStyleHandler()->getStyle()->getVariable('pageLogoHeight')}"{/if}{*
                        *}{if $__wcf->getStyleHandler()->getStyle()->getVariable('pageLogoWidth')} width="{@$__wcf->getStyleHandler()->getStyle()->getVariable('pageLogoWidth')}"{/if}{*
-                       *} loading="eager">
+                       *} loading="lazy">
                <img src="{$__wcf->getStyleHandler()->getStyle()->getPageLogoMobile()}" alt="" class="pageHeaderLogoSmall"{*
                        *}{if $__wcf->getStyleHandler()->getStyle()->getPageLogoSmallHeight()} height="{@$__wcf->getStyleHandler()->getStyle()->getPageLogoSmallHeight()}"{/if}{*
                        *}{if $__wcf->getStyleHandler()->getStyle()->getPageLogoSmallWidth()} width="{@$__wcf->getStyleHandler()->getStyle()->getPageLogoSmallWidth()}"{/if}{*
-                       *} loading="eager">
+                       *} loading="lazy">
                
                {event name='headerLogo'}
        </a>