A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/bootstrap-vue/bootstrap-vue/commit/9e25a3b97e911e84473991def78c9b4307b6f822 below:

prefer user-provided `role` attribute (#6382) · bootstrap-vue/bootstrap-vue@9e25a3b · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+4

-2

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+4

-2

lines changed Original file line number Diff line number Diff line change

@@ -70,13 +70,15 @@ export const selectableMixin = Vue.extend({

70 70

}

71 71

},

72 72

selectableTableAttrs() {

73 +

const role = this.bvAttrs.role || 'grid'

74 + 73 75

return this.isSelectable

74 76

? {

75 -

role: 'grid',

77 +

role,

76 78

// TODO:

77 79

// Should this attribute not be included when `no-select-on-click` is set

78 80

// since this attribute implies keyboard navigation?

79 -

'aria-multiselectable': String(this.selectableIsMultiSelect)

81 +

'aria-multiselectable': role === 'grid' ? String(this.selectableIsMultiSelect) : null

80 82

}

81 83

: {}

82 84

}

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4