From a539cebdaac8141189f51cb9de87525bb2c8571a Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Thu, 1 May 2014 16:13:58 +0200 Subject: Improve mail view document structure with headings, roles, labels and aria-attributes --- program/js/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'program') 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 }); -- cgit v1.2.3