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

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

Issue 2685933004: WebUI: Fix cr-policy-pref-indicator tooltip to pass accessibilty checks. (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 74ef0044c8c430bb4308faa90528b6438a4ba1f0..2ed131126957d16e2ea8f65bca44f447b82f87b2 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
@@ -13,10 +13,11 @@
}
</style>
<template>
- <iron-icon id="indicator" tabindex=0
+ <iron-icon id="indicator" tabindex=0 aria-describedby="tooltip"
hidden$="[[!isIndicatorVisible(indicatorType)]]"
icon="[[getPolicyIndicatorIcon(indicatorType)]]"></iron-icon>
- <paper-tooltip for="indicator" position="top" fit-to-visible-bounds>
+ <paper-tooltip id="tooltip" for="indicator" position="top"
+ fit-to-visible-bounds>
[[getTooltip_(indicatorType, pref)]]
</paper-tooltip>
</template>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698