summaryrefslogtreecommitdiffstats
path: root/core/templates/layout.user.php
diff options
context:
space:
mode:
authorVolker E <volker.e@temporaer.net>2015-03-18 19:29:15 +0100
committerVolker E <volker.e@temporaer.net>2015-03-18 19:29:15 +0100
commit0d0c73cf2b6a46f81fb249cfacf0742fc1417629 (patch)
treee216b04692c297ca82a175e544a5e2f9c8bb64f0 /core/templates/layout.user.php
parent790324b313b8ae5d30e7cf3856e492b8054fd61f (diff)
downloadnextcloud-server-0d0c73cf2b6a46f81fb249cfacf0742fc1417629.tar.gz
nextcloud-server-0d0c73cf2b6a46f81fb249cfacf0742fc1417629.zip
fixing #15011 by adding ARIA roles where distinct
Diffstat (limited to 'core/templates/layout.user.php')
-rw-r--r--core/templates/layout.user.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 9667aa72ddb..4c804ed3ea8 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -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>