Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(657)

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/Panel.js

Issue 2334693003: Add ARIA markup for tabs & tab panels (Closed)
Patch Set: forgot changing two aria-expanded attributes to aria-selected Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « AUTHORS ('k') | third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/ui/Panel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/Panel.js b/third_party/WebKit/Source/devtools/front_end/ui/Panel.js
index ec8f0feb5757785e6292f235e952bdb796c8ada3..a9cf23fec12a490e05b35655587a5e2917d5d9ab 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/Panel.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/Panel.js
@@ -35,6 +35,8 @@ WebInspector.Panel = function(name)
WebInspector.VBox.call(this);
this.element.classList.add("panel");
+ this.element.setAttribute("role", "tabpanel");
+ this.element.setAttribute("aria-label", name);
this.element.classList.add(name);
this._panelName = name;
« no previous file with comments | « AUTHORS ('k') | third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698