fix accessibility of logos

This commit is contained in:
Jan-Christoph Borchardt 2014-12-18 10:50:05 +01:00
parent 5c6e08213e
commit ea548cdaaa
4 changed files with 13 additions and 6 deletions

View File

@ -45,7 +45,11 @@ $previewSupported = OC\Preview::isMimeSupported($_['mimetype']) ? 'true' : 'fals
<header><div id="header" class="<?php p((isset($_['folder']) ? 'share-folder' : 'share-file')) ?>">
<a href="<?php print_unescaped(link_to('', 'index.php')); ?>"
title="" id="owncloud">
<div class="logo-wide svg"></div>
<div class="logo-wide svg">
<h1 class="hidden-visually">
<?php p($theme->getName()); ?>
</h1>
</div>
</a>
<div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
<div class="header-right">

View File

@ -48,9 +48,6 @@
height: 120px;
margin: 0 auto;
}
#header .logo h1 {
display: none;
}
#header .logo-wide {
background-image: url(../img/logo-wide.svg);

View File

@ -32,7 +32,9 @@
<header>
<div id="header">
<div class="logo svg">
<h1><?php p($theme->getName()); ?></h1>
<h1 class="hidden-visually">
<?php p($theme->getName()); ?>
</h1>
</div>
<div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
</div>

View File

@ -41,7 +41,11 @@
</div>
<header><div id="header">
<a href="<?php print_unescaped(link_to('', 'index.php')); ?>" title="" id="owncloud">
<div class="logo-icon svg"></div>
<div class="logo-icon svg">
<h1 class="hidden-visually">
<?php p($theme->getName()); ?>
</h1>
</div>
</a>
<a href="#" class="menutoggle" tabindex="1">
<h1 class="header-appname">