diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2014-06-18 14:35:48 +0200 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2014-06-18 14:35:48 +0200 |
commit | 9240c96339b26989f060c57c61a2677e2f1e502e (patch) | |
tree | 58bd826e940954917c97fcdf58985460b0caf6af /program/steps/mail/attachments.inc | |
parent | 6c647deffce183bc37ac55e3b3ae35eb5922d428 (diff) |
Improve accessibility on attachments list: use custom tabindex attribute + add aria-label for meaningful voice output on delete icons
Diffstat (limited to 'program/steps/mail/attachments.inc')
-rw-r--r-- | program/steps/mail/attachments.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/program/steps/mail/attachments.inc b/program/steps/mail/attachments.inc index c8b7f9517..fd122c5c1 100644 --- a/program/steps/mail/attachments.inc +++ b/program/steps/mail/attachments.inc @@ -180,6 +180,7 @@ if (is_array($_FILES['_attachments']['tmp_name'])) { 'onclick' => sprintf("return %s.command('remove-attachment','rcmfile%s', this)", rcmail_output::JS_OBJECT_NAME, $id), 'title' => $RCMAIL->gettext('delete'), 'class' => 'delete', + 'aria-label' => $RCMAIL->gettext('delete') . ' ' . $attachment['name'], ), $button); $content .= rcube::Q($attachment['name']); |