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

Unified Diff: chrome/browser/resources/downloads/downloads.js

Issue 598533004: Enable a11y audits and fix issues for downloads page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « no previous file | chrome/browser/ui/webui/downloads_ui_browsertest.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/downloads/downloads.js
diff --git a/chrome/browser/resources/downloads/downloads.js b/chrome/browser/resources/downloads/downloads.js
index 34790f849bf4a5bd1370e45ed036a32778a130d8..75124aa47ab415e6fcd7675f7ce5306c2bccdac8 100644
--- a/chrome/browser/resources/downloads/downloads.js
+++ b/chrome/browser/resources/downloads/downloads.js
@@ -323,6 +323,7 @@ function Download(download) {
}
this.nodeImg_ = createElementWithClassName('img', 'icon');
+ this.nodeImg_.alt = '';
this.safe_.appendChild(this.nodeImg_);
// FileLink is used for completed downloads, otherwise we show FileName.
@@ -405,6 +406,7 @@ function Download(download) {
this.node.appendChild(this.danger_);
this.dangerNodeImg_ = createElementWithClassName('img', 'icon');
+ this.dangerNodeImg_.alt = '';
this.danger_.appendChild(this.dangerNodeImg_);
this.dangerDesc_ = document.createElement('div');
« no previous file with comments | « no previous file | chrome/browser/ui/webui/downloads_ui_browsertest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698