Bug 739599 - [Instant messaging] Make the conversation output a WAI-ARIA live region, r=clokep.
authorFlorian Quèze <florian@queze.net>
Thu, 14 Jun 2012 16:04:58 +0200
changeset 10430 47f05f31d03a4c2f538ee1a61be7f502d8e110fd
parent 10429 f00ab2e3c12d62cd6f759db0505dad0dd70c7a89
child 10431 7a9fe3d6a0a94acdceb14346692dc808d64d49a8
push id7890
push userflorian@queze.net
push dateThu, 14 Jun 2012 14:11:04 +0000
treeherdercomm-central@6be9b667699d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersclokep
bugs739599
Bug 739599 - [Instant messaging] Make the conversation output a WAI-ARIA live region, r=clokep.
chat/modules/imThemes.jsm
--- a/chat/modules/imThemes.jsm
+++ b/chat/modules/imThemes.jsm
@@ -593,17 +593,17 @@ function initHTMLDocument(aConv, aTheme,
 
   HTML += "</head><body id=\"ibcontent\">";
 
   // We insert the whole content of body: header, chat div, footer
   if (aTheme.showHeader) {
     HTML += replaceKeywordsInHTML(aTheme.html.header,
                                   headerFooterReplacements, aConv);
   }
-  HTML += "<div id=\"Chat\"></div>";
+  HTML += "<div id=\"Chat\" aria-live=\"polite\"></div>";
   HTML += replaceKeywordsInHTML(aTheme.html.footer,
                                 headerFooterReplacements, aConv);
   aDoc.open();
   aDoc.write(HTML + "</body></html>");
   aDoc.close();
   aDoc.defaultView.convertTimeUnits = DownloadUtils.convertTimeUnits;
 }