diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-11-02 13:51:32 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-11-02 13:51:32 +0000 |
| commit | 31e6680a953fb9faf595ff971b30500c4ffee678 (patch) | |
| tree | 422cf143f32ba08722bbe5e04ec6d52c600e0aa7 /templates | |
| parent | a4063842e42ee97c2d075a3953732799474ee42d (diff) | |
let skiplinks navigation be a nav element, fixes #2642, fixes #2645
Closes #2642 and #2645
Merge request studip/studip!1802
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/layouts/base.php | 2 | ||||
| -rw-r--r-- | templates/skiplinks.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/layouts/base.php b/templates/layouts/base.php index 67bb2b9..8dc2444 100644 --- a/templates/layouts/base.php +++ b/templates/layouts/base.php @@ -71,7 +71,7 @@ $lang_attr = str_replace('_', '-', $_SESSION['_language']); </head> <body id="<?= PageLayout::getBodyElementId() ?>" <? if (!PageLayout::isSidebarEnabled()) echo 'class="no-sidebar"'; ?>> - <div id="skip_link_navigation" aria-busy="true"></div> + <nav id="skip_link_navigation" aria-busy="true"></nav> <?= PageLayout::getBodyElements() ?> <? include 'lib/include/header.php' ?> diff --git a/templates/skiplinks.php b/templates/skiplinks.php index dcea66b..28758de 100644 --- a/templates/skiplinks.php +++ b/templates/skiplinks.php @@ -2,7 +2,7 @@ # Lifter010: TODO ?> <? if ($navigation instanceof Navigation && iterator_count($navigation) > 0) : ?> - <ul role="navigation" id="skiplink_list"> + <ul id="skiplink_list"> <? foreach ($navigation as $index => $nav) : ?> <li> <? if (mb_substr($url = $nav->getURL(), 0, 1) == '#') : ?> |
