diff options
author | Julius Härtl <jus@bitgrid.net> | 2022-07-18 18:00:22 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2022-07-18 18:00:22 +0200 |
commit | e3dc796e5d0c7ac48441ebf2e5b3ca59f3b14b82 (patch) | |
tree | e53bf76ef76e38267bd3df6a7c3a40aef096c49e /core/templates/layout.public.php | |
parent | d5437e2a30347d36d89be48ff9779bdacd6ef6ae (diff) | |
download | nextcloud-server-e3dc796e5d0c7ac48441ebf2e5b3ca59f3b14b82.tar.gz nextcloud-server-e3dc796e5d0c7ac48441ebf2e5b3ca59f3b14b82.zip |
Add skip content buttons to the public page layout
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/templates/layout.public.php')
-rw-r--r-- | core/templates/layout.public.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/templates/layout.public.php b/core/templates/layout.public.php index 17752de10cd..7251560cb65 100644 --- a/core/templates/layout.public.php +++ b/core/templates/layout.public.php @@ -31,6 +31,11 @@ <?php foreach ($_['initialStates'] as $app => $initialState) { ?> <input type="hidden" id="initial-state-<?php p($app); ?>" value="<?php p(base64_encode($initialState)); ?>"> <?php }?> + <div id="skip-actions"> + <?php if ($_['id-app-content'] !== null) { ?><a href="<?php p($_['id-app-content']); ?>" class="button primary skip-navigation skip-content"><?php p($l->t('Skip to main content')); ?></a><?php } ?> + <?php if ($_['id-app-navigation'] !== null) { ?><a href="<?php p($_['id-app-navigation']); ?>" class="button primary skip-navigation"><?php p($l->t('Skip to navigation of app')); ?></a><?php } ?> + </div> + <div id="notification-container"> <div id="notification"></div> </div> |