fixing #15011 by adding ARIA roles where distinct

This commit is contained in:
Volker E 2015-03-18 19:29:15 +01:00
parent 790324b313
commit 0d0c73cf2b
2 changed files with 7 additions and 7 deletions

View file

@ -25,7 +25,7 @@
<div class="wrapper"><!-- for sticky footer -->
<div class="v-align"><!-- vertically centred box -->
<?php if ($_['bodyid'] === 'body-login' ): ?>
<header>
<header role="banner">
<div id="header">
<div class="logo svg">
<h1 class="hidden-visually">
@ -40,7 +40,7 @@
<div class="push"></div><!-- for sticky footer -->
</div>
</div>
<footer>
<footer role="contentinfo">
<p class="info">
<?php print_unescaped($theme->getLongFooter()); ?>
</p>

View file

@ -35,7 +35,7 @@
<div id="update-notification" style="display: inline;"><a href="<?php print_unescaped($_['updateLink']); ?>"><?php p($l->t('%s is available. Get more information on how to update.', array($_['updateVersion']))); ?></a></div>
<?php endif; ?>
</div>
<header><div id="header">
<header role="banner"><div id="header">
<a href="<?php print_unescaped(link_to('', 'index.php')); ?>"
title="" id="owncloud" tabindex="-1">
<div class="logo-icon svg">
@ -70,7 +70,7 @@
</div>
<?php endif; ?>
<span id="expandDisplayName"><?php p(trim($_['user_displayname']) != '' ? $_['user_displayname'] : $_['user_uid']) ?></span>
<img class="svg" alt="" src="<?php print_unescaped(image_path('', 'actions/caret.svg')); ?>" />
<img class="svg" alt="" src="<?php print_unescaped(image_path('', 'actions/caret.svg')); ?>">
</div>
<div id="expanddiv">
<ul>
@ -93,7 +93,7 @@
</div>
</div>
<form class="searchbox" action="#" method="post">
<form class="searchbox" action="#" method="post" role="search">
<label for="searchbox" class="hidden-visually">
<?php p($l->t('Search'));?>
</label>
@ -103,7 +103,7 @@
</form>
</div></header>
<nav><div id="navigation">
<nav role="navigation"><div id="navigation">
<div id="apps" class="svg">
<ul>
<?php foreach($_['navigation'] as $entry): ?>
@ -138,7 +138,7 @@
</div></nav>
<div id="content-wrapper">
<div id="content" class="app-<?php p($_['appid']) ?>">
<div id="content" class="app-<?php p($_['appid']) ?>" role="main">
<?php print_unescaped($_['content']); ?>
</div>
</div>