Header: Remove skiplinks

Skiplinks are to much and confusing for other users. Better is to use
header navigation in screen readers.

refs #7076
This commit is contained in:
Marius Hein 2015-02-23 11:18:58 +01:00
parent 02777c58ac
commit b6124d7371
5 changed files with 1 additions and 100 deletions

View File

@ -5,16 +5,6 @@
<h1 tabindex="-1" id="authentication-reorder">
<?= $this->translate('Authentication Configuration'); ?>
</h1>
<div class="skip-links skip-links-inline">
<h2 class="sr-only"><?= $this->translate('Skip Links'); ?></h2>
<ul>
<li>
<a tabindex="0" href="#authentication-reorder-form">
<?= t('Skip To Authentication Reorder Form'); ?>
</a>
</li>
</ul>
</div>
<h2 tabindex="-1" id="authentication-new-backend" class="sr-only">
<?= t('New Authentication Backend'); ?>
</h2>

View File

@ -5,16 +5,6 @@
<h1 tabindex="-1" id="resource-index">
<?= t('Resource Configuration'); ?>
</h1>
<div class="skip-links skip-links-inline">
<h2 class="sr-only"><?= $this->translate('Skip Links'); ?></h2>
<ul>
<li>
<a tabindex="0" href="#resource-edit-table">
<?= t('Skip To Existing Resources'); ?>
</a>
</li>
</ul>
</div>
<h2 tabindex="-1" id="resource-new-resource" class="sr-only">
<?= t('Create New Resource'); ?>
</h2>

View File

@ -5,16 +5,6 @@
<h1 tabindex="-1" id="roles-index">
<?= $this->translate('Roles') ?>
</h1>
<div class="skip-links skip-links-inline">
<h2 class="sr-only"><?= $this->translate('Skip Links'); ?></h2>
<ul>
<li>
<a tabindex="0" href="#roles-index-new">
<?= t('Skip To Create New Role'); ?>
</a>
</li>
</ul>
</div>
<div>
<?php /** @var \Icinga\Application\Config $roles */ if ($roles->isEmpty()): ?>
<?= $this->translate('No roles found.') ?>

View File

@ -11,36 +11,6 @@
<h1 tabindex="-1">
<?= $this->translate('Alert summary'); ?>
</h1>
<div class="skip-links skip-links-inline">
<h2 class="sr-only"><?= $this->translate('Skip Links'); ?></h2>
<ul>
<li>
<a tabindex="0" href="#alertsummary-notifications">
<?= t('Skip To Notification Chart'); ?>
</a>
</li>
<li>
<a tabindex="0" href="#alertsummary-reaction-time">
<?= t('Skip To Reaction Time Chart'); ?>
</a>
</li>
<li>
<a tabindex="0" href="#alertsummary-trend">
<?= t('Skip To Trend'); ?>
</a>
</li>
<li>
<a tabindex="0" href="#alertsummary-top5">
<?= t('Sktip To Top 5 Alerts'); ?>
</a>
</li>
<li>
<a tabindex="0" href="#alertsummary-history">
<?= t('Skip To Alert History'); ?>
</a>
</li>
</ul>
</div>
<div class="hbox">
<div class="hbox-item">

View File

@ -12,26 +12,7 @@ $cp = $this->checkPerformance()->create($this->checkperformance);
<h1 tabindex="-1">
<?= $this->translate('Monitoring Health'); ?>
</h1>
<div class="skip-links skip-links-inline">
<h2 class="sr-only"><?= $this->translate('Skip Links'); ?></h2>
<ul>
<li>
<a tabindex="0" href="#process-feature-command">
<?= t('Skip To Feature Commands'); ?>
</a>
</li>
<li>
<a tabindex="0" href="#process-process-info">
<?= t('Skip To Process Information'); ?>
</a>
</li>
<li>
<a tabindex="0" href="#process-performance-info">
<?= t('Skip To Performance Information'); ?>
</a>
</li>
</ul>
</div>
<div class="boxview">
<div class="box left">
@ -98,26 +79,6 @@ $cp = $this->checkPerformance()->create($this->checkperformance);
<h2 tabindex="-1" id="process-performance-info">
<?= $this->translate('Performance Info') ?>
</h2>
<div class="skip-links skip-links-inline">
<h2 class="sr-only"><?= $this->translate('Skip Links'); ?></h2>
<ul>
<li>
<a tabindex="0" href="#process-object-summaries">
<?= t('Skip To Object Summaries'); ?>
</a>
</li>
<li>
<a tabindex="0" href="#process-active-checks">
<?= t('Skip To Active Checks'); ?>
</a>
</li>
<li>
<a tabindex="0" href="#process-passive-checks">
<?= t('Skip To Passive Checks'); ?>
</a>
</li>
</ul>
</div>
<h3 tabindex="-1" id="process-object-summaries">
<?= $this->translate('Object summaries') ?>