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

Unified Diff: ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.html

Issue 2720413002: MD Settings: add an aria-label to control indicators (often policy) (Closed)
Patch Set: merge Created 3 years, 9 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
Index: ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.html
diff --git a/ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.html b/ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.html
index deb56836b0c9e30dc583ffdda8c2a2eaec3563bf..902471345a9ed9d79808457eff450fb964479232 100644
--- a/ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.html
+++ b/ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.html
@@ -16,8 +16,9 @@
}
</style>
<template>
- <iron-icon id="indicator" tabindex="0" aria-describedby="tooltip"
- hidden$="[[!indicatorVisible]]" icon="[[indicatorIcon]]"></iron-icon>
+ <iron-icon id="indicator" tabindex="0" aria-label$="[[iconAriaLabel]]"
+ aria-describedby="tooltip" hidden$="[[!indicatorVisible]]"
+ icon="[[indicatorIcon]]"></iron-icon>
<paper-tooltip id="tooltip" for="indicator" position="top"
fit-to-visible-bounds>
[[indicatorTooltip]]

Powered by Google App Engine
This is Rietveld 408576698