Skip to content
Snippets Groups Projects
Commit f7f9f230 authored by Elmar Ludwig's avatar Elmar Ludwig Committed by David Siegfried
Browse files

don't insert skip_link_navigation twice, re #1388

Merge request studip/studip!1251
parent 6ae35bf4
No related branches found
No related tags found
No related merge requests found
......@@ -50,10 +50,6 @@ if ($navigation) {
}
?>
<div id="skip_link_navigation" aria-busy="true"></div>
<? SkipLinks::addIndex(_('Hauptinhalt'), 'content', 100) ?>
<?= PageLayout::getBodyElements() ?>
<!-- Begin main site header -->
<header id="main-header">
......
......@@ -70,9 +70,9 @@ $lang_attr = str_replace('_', '-', $_SESSION['_language']);
</script>
</head>
<body id="<?= PageLayout::getBodyElementId() ?>" class="enable-skiplinks">
<body id="<?= PageLayout::getBodyElementId() ?>">
<div id="skip_link_navigation" aria-busy="true"></div>
<? SkipLinks::addIndex(_('Hauptinhalt'), 'content', 100) ?>
<?= PageLayout::getBodyElements() ?>
<? include 'lib/include/header.php' ?>
......@@ -80,6 +80,7 @@ $lang_attr = str_replace('_', '-', $_SESSION['_language']);
<!-- Start main page content -->
<main id="content-wrapper">
<? SkipLinks::addIndex(_('Hauptinhalt'), 'content', 100) ?>
<div id="content">
<h1 class="sr-only"><?= htmlReady(PageLayout::getTitle()) ?></h1>
<? if (PageLayout::isFullscreenModeAllowed()): ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment