From c2568548cfa6e4f0b2954c049112b8e0681f66c1 Mon Sep 17 00:00:00 2001 From: Feu Mourek Date: Fri, 16 Aug 2019 09:25:28 +0200 Subject: [PATCH 1/2] Add appropriate aria labels to donut graphs --- library/Icinga/Chart/Donut.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/Icinga/Chart/Donut.php b/library/Icinga/Chart/Donut.php index 887462f6c..48b28f267 100644 --- a/library/Icinga/Chart/Donut.php +++ b/library/Icinga/Chart/Donut.php @@ -268,6 +268,7 @@ class Donut $svg['content'][] = array( 'tag' => 'circle', 'attributes' => array( + 'aria-hidden' => true, 'cx' => 20, 'cy' => 20, 'r' => sprintf('%F', $this->radius), @@ -329,6 +330,7 @@ class Donut array( 'tag' => 'a', 'attributes' => array( + 'aria-label' => $labelBig . ' ' . $labelSmall, 'href' => $this->getLabelBigUrl() ? $this->getLabelBigUrl()->getAbsoluteUrl() : null, 'class' => $this->labelBigEyeCatching ? 'donut-label-big donut-label-big-eye-catching' From d7a8765fc993c98c977dc3646a931d28c114bb7d Mon Sep 17 00:00:00 2001 From: Feu Mourek Date: Fri, 16 Aug 2019 10:56:24 +0200 Subject: [PATCH 2/2] Add appropriate aria labels to tactical overview --- .../monitoring/application/views/scripts/tactical/index.phtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/monitoring/application/views/scripts/tactical/index.phtml b/modules/monitoring/application/views/scripts/tactical/index.phtml index e57c0df36..330aec3c1 100644 --- a/modules/monitoring/application/views/scripts/tactical/index.phtml +++ b/modules/monitoring/application/views/scripts/tactical/index.phtml @@ -11,7 +11,7 @@
-

translate('Host Summary') ?>

+

translate('Host Summary') ?>

@@ -68,7 +68,7 @@
-

translate('Service Summary') ?>

+

translate('Service Summary') ?>