From a539cebdaac8141189f51cb9de87525bb2c8571a Mon Sep 17 00:00:00 2001 From: Thomas Bruederli <thomas@roundcube.net> Date: Thu, 01 May 2014 10:13:58 -0400 Subject: [PATCH] Improve mail view document structure with headings, roles, labels and aria-attributes --- program/js/app.js | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/program/js/app.js b/program/js/app.js index b2c9209..f0aadd9 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -6359,7 +6359,8 @@ 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 }); -- Gitblit v1.9.1