Bug 977199 - Add aria-label "Markup View". r=bgrins, f=marcoz

This commit is contained in:
Athena 2014-07-07 19:59:00 -04:00
parent d1b09e8f34
commit 53785f5afe
2 changed files with 5 additions and 0 deletions

View File

@ -677,6 +677,7 @@ InspectorPanel.prototype = {
this._markupBox.setAttribute("collapsed", true);
this._markupBox.appendChild(this._markupFrame);
this._markupFrame.setAttribute("src", "chrome://browser/content/devtools/markup-view.xhtml");
this._markupFrame.setAttribute("aria-label", this.strings.GetStringFromName("inspector.panelLabel.markupView"))
},
_onMarkupFrameLoad: function InspectorPanel__onMarkupFrameLoad() {

View File

@ -36,7 +36,11 @@ nodeMenu.tooltiptext=Node operations
inspector.label=Inspector
inspector.commandkey=C
inspector.accesskey=I
# LOCALIZATION NOTE (inspector.panelLabel.*)
# Labels applied to the panel and views within the panel in the toolbox
inspector.panelLabel=Inspector Panel
inspector.panelLabel.markupView=Markup View
# LOCALIZATION NOTE (markupView.more.*)
# When there are too many nodes to load at once, we will offer to