From b626a96e162308e367040aa137b7126450ec19d3 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 23 Feb 2015 17:14:40 +0100 Subject: [PATCH] Add aria-label to each box of the event grid refs #8458 --- .../Web/Widget/Chart/HistoryColorGrid.php | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/library/Icinga/Web/Widget/Chart/HistoryColorGrid.php b/library/Icinga/Web/Widget/Chart/HistoryColorGrid.php index 4e07d06b3..96b012db5 100644 --- a/library/Icinga/Web/Widget/Chart/HistoryColorGrid.php +++ b/library/Icinga/Web/Widget/Chart/HistoryColorGrid.php @@ -122,17 +122,18 @@ class HistoryColorGrid extends AbstractWidget { { if (array_key_exists($day, $this->data) && $this->data[$day]['value'] > 0) { $entry = $this->data[$day]; - return' '; - } else { - return ''; + } else { + return ''; } }