fixing #15011 by adding ARIA roles where distinct
This commit is contained in:
parent
790324b313
commit
0d0c73cf2b
2 changed files with 7 additions and 7 deletions
|
@ -25,7 +25,7 @@
|
||||||
<div class="wrapper"><!-- for sticky footer -->
|
<div class="wrapper"><!-- for sticky footer -->
|
||||||
<div class="v-align"><!-- vertically centred box -->
|
<div class="v-align"><!-- vertically centred box -->
|
||||||
<?php if ($_['bodyid'] === 'body-login' ): ?>
|
<?php if ($_['bodyid'] === 'body-login' ): ?>
|
||||||
<header>
|
<header role="banner">
|
||||||
<div id="header">
|
<div id="header">
|
||||||
<div class="logo svg">
|
<div class="logo svg">
|
||||||
<h1 class="hidden-visually">
|
<h1 class="hidden-visually">
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
<div class="push"></div><!-- for sticky footer -->
|
<div class="push"></div><!-- for sticky footer -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<footer>
|
<footer role="contentinfo">
|
||||||
<p class="info">
|
<p class="info">
|
||||||
<?php print_unescaped($theme->getLongFooter()); ?>
|
<?php print_unescaped($theme->getLongFooter()); ?>
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -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>
|
<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; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<header><div id="header">
|
<header role="banner"><div id="header">
|
||||||
<a href="<?php print_unescaped(link_to('', 'index.php')); ?>"
|
<a href="<?php print_unescaped(link_to('', 'index.php')); ?>"
|
||||||
title="" id="owncloud" tabindex="-1">
|
title="" id="owncloud" tabindex="-1">
|
||||||
<div class="logo-icon svg">
|
<div class="logo-icon svg">
|
||||||
|
@ -70,7 +70,7 @@
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<span id="expandDisplayName"><?php p(trim($_['user_displayname']) != '' ? $_['user_displayname'] : $_['user_uid']) ?></span>
|
<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>
|
||||||
<div id="expanddiv">
|
<div id="expanddiv">
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -93,7 +93,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form class="searchbox" action="#" method="post">
|
<form class="searchbox" action="#" method="post" role="search">
|
||||||
<label for="searchbox" class="hidden-visually">
|
<label for="searchbox" class="hidden-visually">
|
||||||
<?php p($l->t('Search'));?>
|
<?php p($l->t('Search'));?>
|
||||||
</label>
|
</label>
|
||||||
|
@ -103,7 +103,7 @@
|
||||||
</form>
|
</form>
|
||||||
</div></header>
|
</div></header>
|
||||||
|
|
||||||
<nav><div id="navigation">
|
<nav role="navigation"><div id="navigation">
|
||||||
<div id="apps" class="svg">
|
<div id="apps" class="svg">
|
||||||
<ul>
|
<ul>
|
||||||
<?php foreach($_['navigation'] as $entry): ?>
|
<?php foreach($_['navigation'] as $entry): ?>
|
||||||
|
@ -138,7 +138,7 @@
|
||||||
</div></nav>
|
</div></nav>
|
||||||
|
|
||||||
<div id="content-wrapper">
|
<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']); ?>
|
<?php print_unescaped($_['content']); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue