diff --git a/application/helpers/hlp_header_helper.php b/application/helpers/hlp_header_helper.php index 14f7ed338..af8a32807 100644 --- a/application/helpers/hlp_header_helper.php +++ b/application/helpers/hlp_header_helper.php @@ -227,3 +227,13 @@ function generateBackwardCompatibleJSMsIe($js) echo "\n"; } +/** + * Constructs an accessibility skipLink https://www.w3schools.com/accessibility/accessibility_skip_links.php + */ +function generateSkipLink($skipID) +{ + $toPrint = ''; + echo $toPrint; +} diff --git a/application/views/CisRouterView/CisRouterView.php b/application/views/CisRouterView/CisRouterView.php index c03330c7a..75ea0313e 100644 --- a/application/views/CisRouterView/CisRouterView.php +++ b/application/views/CisRouterView/CisRouterView.php @@ -8,6 +8,7 @@ $includesArray = array( 'tabulator5' => true, // TODO: upgrade to 6 when available 'vue3' => true, 'primevue3' => true, + 'skipID' => '#fhccontent', 'vuedatepicker11' => true, 'customCSSs' => array( 'public/css/components/verticalsplit.css', diff --git a/application/views/templates/FHC-Header.php b/application/views/templates/FHC-Header.php index 8e813916e..7779bb823 100644 --- a/application/views/templates/FHC-Header.php +++ b/application/views/templates/FHC-Header.php @@ -9,12 +9,15 @@ $title = isset($title) ? $title : null; $refresh = isset($refresh) ? $refresh : null; $customCSSs = isset($customCSSs) ? $customCSSs : null; + $skipID = isset($skipID) ? $skipID : null; ?>
+ +