summaryrefslogtreecommitdiff
path: root/plugins/libcalendaring/libcalendaring.php
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-06-19 08:40:28 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2014-06-19 08:40:28 (GMT)
commitefecba6675e09abab29ce531f284d055566db801 (patch)
treec32ce103f8e5663f541caae5e081de2e9ade114a /plugins/libcalendaring/libcalendaring.php
parent6d9d854e65e1d6b77cffbc740fc7f88cd5aba770 (diff)
downloadroundcubemail-plugins-kolab-efecba6675e09abab29ce531f284d055566db801.tar.gz
Accessibility enhancements for the calendar module (#3084)
Diffstat (limited to 'plugins/libcalendaring/libcalendaring.php')
-rw-r--r--plugins/libcalendaring/libcalendaring.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/libcalendaring/libcalendaring.php b/plugins/libcalendaring/libcalendaring.php
index 09a9c68..b84ede7 100644
--- a/plugins/libcalendaring/libcalendaring.php
+++ b/plugins/libcalendaring/libcalendaring.php
@@ -288,7 +288,7 @@ class libcalendaring extends rcube_plugin
public function alarm_select($attrib, $alarm_types, $absolute_time = true)
{
unset($attrib['name']);
- $select_type = new html_select(array('name' => 'alarmtype[]', 'class' => 'edit-alarm-type'));
+ $select_type = new html_select(array('name' => 'alarmtype[]', 'class' => 'edit-alarm-type', 'id' => $attrib['id']));
$select_type->add($this->gettext('none'), '');
foreach ($alarm_types as $type)
$select_type->add($this->gettext(strtolower("alarm{$type}option")), $type);
@@ -991,6 +991,7 @@ class libcalendaring extends rcube_plugin
'class' => 'delete',
'onclick' => sprintf("return %s.remove_from_attachment_list('rcmfile%s')", JS_OBJECT_NAME, $id),
'title' => $this->rc->gettext('delete'),
+ 'aria-label' => $this->rc->gettext('delete') . ' ' . $attachment['name'],
), $button);
$content .= Q($attachment['name']);