We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
role
1 parent 7765d7c commit 9e25a3bCopy full SHA for 9e25a3b
src/components/table/helpers/mixin-selectable.js
@@ -70,13 +70,15 @@ export const selectableMixin = Vue.extend({
70
}
71
},
72
selectableTableAttrs() {
73
+ const role = this.bvAttrs.role || 'grid'
74
+
75
return this.isSelectable
76
? {
- role: 'grid',
77
+ role,
78
// TODO:
79
// Should this attribute not be included when `no-select-on-click` is set
80
// since this attribute implies keyboard navigation?
- 'aria-multiselectable': String(this.selectableIsMultiSelect)
81
+ 'aria-multiselectable': role === 'grid' ? String(this.selectableIsMultiSelect) : null
82
83
: {}
84
0 commit comments