summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-05-01 16:13:58 +0200
committerThomas Bruederli <thomas@roundcube.net>2014-05-01 16:13:58 +0200
commita539cebdaac8141189f51cb9de87525bb2c8571a (patch)
tree7917b23a4eb2590e1759075545375b1f6f0e8b0c /program/js
parenteb95518ef9b1bf9160f0e95d45811a4ef8c0e1fb (diff)
Improve mail view document structure with headings, roles, labels and aria-attributes
Diffstat (limited to 'program/js')
-rw-r--r--program/js/app.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index b2c9209a7..f0aadd970 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -6359,7 +6359,8 @@ function rcube_webmail()
this.messages[key].labels = [{'id': id, 'msg': msg}];
}
else {
- obj.click(function() { return ref.hide_message(obj); });
+ obj.click(function() { return ref.hide_message(obj); })
+ .attr('role', 'alert');
}
this.triggerEvent('message', { message:msg, type:type, timeout:timeout, object:obj });