add aria-label to skip link and raumsuche tabulator links, move skip link to html body, change raumsuche h2 to h1

This commit is contained in:
Harald Bamberger
2025-06-30 17:02:45 +02:00
parent 83ac1abcf6
commit 986d1cfb5f
3 changed files with 14 additions and 7 deletions
+1 -1
View File
@@ -243,6 +243,6 @@ function generateSkipLink($skipID)
{
$toPrint = '<a id="skiplink" href="';
$toPrint.=$skipID;
$toPrint.='" class="fhcSkipLink"></a>';
$toPrint.='" class="fhcSkipLink" aria-label="Skip to main content"></a>';
echo $toPrint;
}
+3 -2
View File
@@ -16,8 +16,7 @@
<!DOCTYPE HTML>
<html>
<head>
<?php if($skipID) generateSkipLink($skipID); ?>
<title><?php printPageTitle($title); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1">
@@ -139,5 +138,7 @@
</head>
<body>
<?php if($skipID) generateSkipLink($skipID); ?>
<!-- Header end -->