diff --git a/.gitignore b/.gitignore index 79b967f7e..a62c845ea 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,5 @@ node_modules/ yarn-error.log reports/ dist/ +.idea/ +yarn.lock diff --git a/components/list/List.vue b/components/list/List.vue index 53777a43e..6b92e888c 100644 --- a/components/list/List.vue +++ b/components/list/List.vue @@ -76,6 +76,8 @@ export default { this.mdcList.singleSelection = this.singleSelection this.mdcList.wrapFocus = this.wrapFocus this.mdcList.vertical = this.vertical + } else { + this.$el.setAttribute('tabindex', '0') } }, beforeDestroy () { diff --git a/components/menu/Menu.vue b/components/menu/Menu.vue index 9051eacce..03b038db9 100644 --- a/components/menu/Menu.vue +++ b/components/menu/Menu.vue @@ -1,6 +1,6 @@