aboutsummaryrefslogtreecommitdiff
path: root/app/views/questionnaire/widget.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/questionnaire/widget.php')
-rw-r--r--app/views/questionnaire/widget.php11
1 files changed, 7 insertions, 4 deletions
diff --git a/app/views/questionnaire/widget.php b/app/views/questionnaire/widget.php
index 044f246..6d7f4b3 100644
--- a/app/views/questionnaire/widget.php
+++ b/app/views/questionnaire/widget.php
@@ -8,15 +8,18 @@
<nav>
<? if ($allowed_to_add) : ?>
<? if ($statusgruppen_ids): ?>
- <a href="<?= $controller->link_for('questionnaire/add_to_context') ?>" data-dialog="size=auto" title="<?= _('Fragebogen hinzufügen') ?>">
+ <a href="<?= $controller->link_for('questionnaire/add_to_context') ?>" data-dialog="size=auto"
+ title="<?= _('Fragebogen hinzufügen') ?>" aria-label="<?= _('Fragebogen hinzufügen') ?>">
<?= Icon::create("add", "clickable")->asimg("16px", ['class' => "text-bottom"]) ?>
</a>
<? else: ?>
- <a href="<?= $controller->link_for('questionnaire/edit', compact('range_type', 'range_id')) ?>" data-dialog title="<?= _('Fragebogen hinzufügen') ?>">
+ <a href="<?= $controller->link_for('questionnaire/edit', compact('range_type', 'range_id')) ?>" data-dialog
+ title="<?= _('Fragebogen hinzufügen') ?>" aria-label="<?= _('Fragebogen hinzufügen') ?>">
<?= Icon::create("add", "clickable")->asimg("16px", ['class' => "text-bottom"]) ?>
</a>
<? endif ?>
- <a href="<?= URLHelper::getLink("dispatch.php/questionnaire/" . ($range_type == 'course' || $range_type == 'institute' ? 'course' : ''). "overview") ?>" title="<?= _('Fragebögen verwalten') ?>">
+ <a href="<?= URLHelper::getLink("dispatch.php/questionnaire/" . ($range_type == 'course' || $range_type == 'institute' ? 'course' : ''). "overview") ?>"
+ title="<?= _('Fragebögen verwalten') ?>" aria-label="<?= _('Fragebögen verwalten') ?>">
<?= Icon::create("admin", "clickable")->asimg("16px", ['class' => "text-bottom"]) ?>
</a>
<? endif ?>
@@ -31,7 +34,7 @@
<section class="noquestionnaires">
<?= _('Es sind keine Fragebögen vorhanden.') ?>
<? if ($allowed_to_add) : ?>
- <?= _("Um neue Fragebögen zu erstellen, klicken Sie rechts auf das Plus.") ?>
+ <?= _("Nutzen Sie die Aktion „Fragebogen hinzufügen“ um einen neuen Fragebogen hinzuzufügen.") ?>
<? endif ?>
</section>
<? endif; ?>