diff options
author | Thomas Bruederli <bruederli@kolabsys.com> | 2014-06-19 08:40:28 (GMT) |
---|---|---|
committer | Thomas Bruederli <bruederli@kolabsys.com> | 2014-06-19 08:40:28 (GMT) |
commit | efecba6675e09abab29ce531f284d055566db801 (patch) | |
tree | c32ce103f8e5663f541caae5e081de2e9ade114a /plugins/libcalendaring/libcalendaring.php | |
parent | 6d9d854e65e1d6b77cffbc740fc7f88cd5aba770 (diff) | |
download | roundcubemail-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.php | 3 |
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']); |