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

Unified Diff: ui/file_manager/file_manager/foreground/js/quick_view_controller.js

Issue 2091823002: QuickView: Add labels and tabindex for accessibility. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@qv_drive_support_and_ui_update
Patch Set: Rebase Created 4 years, 6 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 | « ui/file_manager/file_manager/foreground/elements/files_quick_view.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/foreground/js/quick_view_controller.js
diff --git a/ui/file_manager/file_manager/foreground/js/quick_view_controller.js b/ui/file_manager/file_manager/foreground/js/quick_view_controller.js
index c45fe1562d069c56abcf0fd542ef621b0929f61e..5cd58fc415f3cd8a3861841cffded62cb001fa87 100644
--- a/ui/file_manager/file_manager/foreground/js/quick_view_controller.js
+++ b/ui/file_manager/file_manager/foreground/js/quick_view_controller.js
@@ -69,6 +69,10 @@ function QuickViewController(
'keydown', this.onKeyDownToOpen_.bind(this));
quickView.addEventListener('keydown', this.onQuickViewKeyDown_.bind(this));
quickView.onOpenInNewButtonTap = this.onOpenInNewButtonTap_.bind(this);
+
+ var toolTip = this.quickView_.$$('files-tooltip');
+ var elems = this.quickView_.$.buttons.querySelectorAll('[has-tooltip]');
+ toolTip.addTargets(elems);
}
/**
« no previous file with comments | « ui/file_manager/file_manager/foreground/elements/files_quick_view.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698