diff --git a/browser/devtools/webconsole/console-output.js b/browser/devtools/webconsole/console-output.js index 43081aea4895..753761859c66 100644 --- a/browser/devtools/webconsole/console-output.js +++ b/browser/devtools/webconsole/console-output.js @@ -488,6 +488,11 @@ Messages.BaseMessage.prototype = { let container = doc.createElementNS(XHTML_NS, "div"); container.id = "console-msg-" + gSequenceId(); container.className = "message"; + if (this.category == "input") { + // Assistive technology tools shouldn't echo input to the user, + // as the user knows what they've just typed. + container.setAttribute("aria-live", "off"); + } container.category = this._categoryCompat; container.severity = this._severityCompat; container.setAttribute("category", this._categoryNameCompat); diff --git a/browser/devtools/webconsole/webconsole.xul b/browser/devtools/webconsole/webconsole.xul index 27f9be339205..39ecd52e39ce 100644 --- a/browser/devtools/webconsole/webconsole.xul +++ b/browser/devtools/webconsole/webconsole.xul @@ -174,7 +174,8 @@ function goUpdateConsoleCommands() { -
+