Index: xul/content/mungers.js =================================================================== RCS file: /cvsroot/mozilla/extensions/irc/xul/content/mungers.js,v retrieving revision 1.13 retrieving revision 1.14 diff -d -p -u -6 -r1.13 -r1.14 --- xul/content/mungers.js 12 Feb 2008 11:43:24 -0000 1.13 +++ xul/content/mungers.js 12 Feb 2008 16:15:29 -0000 1.14 @@ -503,18 +503,19 @@ function insertSmiley(emoticon, containe /* create an empty span after the text. this span will have an image added * after it with a chatzilla-emote:after css rule. using * chatzilla-emote-txt:after is not good enough because it does not allow us * to turn off the emoticon text, but keep the image. ie. * chatzilla-emote-txt { display: none; } turns off * chatzilla-emote-txt:after as well.*/ - span = document.createElementNS ("http://www.w3.org/1999/xhtml", - "html:span"); - span.setAttribute ("class", "chatzilla-emote"); - span.setAttribute ("type", type); - span.setAttribute ("title", emoticon); - containerTag.appendChild (span); + span = document.createElementNS("http://www.w3.org/1999/xhtml", + "html:span"); + span.setAttribute("class", "chatzilla-emote"); + span.setAttribute("type", type); + span.setAttribute("title", emoticon); + span.setAttribute("role", "image"); + containerTag.appendChild(span); } function mircChangeColor (colorInfo, containerTag, data) { /* If colors are disabled, the caller doesn't want colors specifically, or