Bug 1438002 - Add title tooltips to the inspector sidebar tabs. r=Honza
MozReview-Commit-ID: Do6R7iFPX0r
--- a/devtools/client/shared/components/tabs/Tabs.js
+++ b/devtools/client/shared/components/tabs/Tabs.js
@@ -298,16 +298,17 @@ define(function (require, exports, modul
key: index,
ref,
role: "presentation",
},
dom.span({className: "devtools-tab-line"}),
dom.a({
id: id ? id + "-tab" : "tab-" + index,
tabIndex: isTabSelected ? 0 : -1,
+ title,
"aria-controls": id ? id + "-panel" : "panel-" + index,
"aria-selected": isTabSelected,
role: "tab",
onClick: this.onClickTab.bind(this, index),
},
title,
badge && !isTabSelected && showBadge() ?
dom.span({ className: "tab-badge" }, badge)