summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/browser/resources/history/history_list.js
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chrome/browser/resources/history/history_list.js')
-rw-r--r--chromium/chrome/browser/resources/history/history_list.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/chromium/chrome/browser/resources/history/history_list.js b/chromium/chrome/browser/resources/history/history_list.js
index 18805d54ef2..35b256e2fab 100644
--- a/chromium/chrome/browser/resources/history/history_list.js
+++ b/chromium/chrome/browser/resources/history/history_list.js
@@ -5,6 +5,8 @@
Polymer({
is: 'history-list',
+ behaviors: [I18nBehavior],
+
properties: {
// The search term for the current query. Set when the query returns.
searchedTerm: {
@@ -60,6 +62,10 @@ Polymer({
actionMenuModel_: Object,
},
+ hostAttributes: {
+ role: 'application',
+ },
+
listeners: {
'history-checkbox-select': 'onItemSelected_',
'open-menu': 'onOpenMenu_',
@@ -74,6 +80,7 @@ Polymer({
/** @type {IronListElement} */ (this.$['infinite-list']).notifyResize();
this.$['infinite-list'].scrollTarget = this;
this.$['scroll-threshold'].scrollTarget = this;
+ this.setAttribute('aria-roledescription', this.i18n('ariaRoleDescription'));
},
/////////////////////////////////////////////////////////////////////////////