Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/dropdown/dropdown-divider.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const BDropdownDivider = /*#__PURE__*/ Vue.extend({
inheritAttrs: false,
props,
render(h, { props, data }) {
return h('li', [
return h('li', { attrs: { role: 'presentation' } }, [
h(
props.tag,
mergeData(data, {
Expand Down
2 changes: 1 addition & 1 deletion src/components/dropdown/dropdown-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const BDropdownForm = /*#__PURE__*/ Vue.extend({
}
},
render(h, { props, data, children }) {
return h('li', [
return h('li', { attrs: { role: 'presentation' } }, [
h(
BForm,
mergeData(data, {
Expand Down
3 changes: 2 additions & 1 deletion src/components/dropdown/dropdown-group.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,15 @@ export const BDropdownGroup = /*#__PURE__*/ Vue.extend({
.join(' ')
.trim()

return h('li', [
return h('li', { attrs: { role: 'presentation' } }, [
header || h(),
h(
'ul',
mergeData(data, {
staticClass: 'list-unstyled',
attrs: {
id: props.id || null,
role: 'group',
'aria-describedby': adb || null
}
}),
Expand Down
2 changes: 1 addition & 1 deletion src/components/dropdown/dropdown-header.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const BDropdownHeader = /*#__PURE__*/ Vue.extend({
inheritAttrs: false,
props,
render(h, { props, data, children }) {
return h('li', [
return h('li', { attrs: { role: 'presentation' } }, [
h(
props.tag,
mergeData(data, {
Expand Down
2 changes: 1 addition & 1 deletion src/components/dropdown/dropdown-item-button.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const BDropdownItemButton = /*#__PURE__*/ Vue.extend({
}
},
render(h) {
return h('li', [
return h('li', { attrs: { role: 'presentation' } }, [
h(
'button',
{
Expand Down
2 changes: 1 addition & 1 deletion src/components/dropdown/dropdown-item.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const BDropdownItem = /*#__PURE__*/ Vue.extend({
}
},
render(h) {
return h('li', [
return h('li', { attrs: { role: 'presentation' } }, [
h(
BLink,
{
Expand Down
2 changes: 1 addition & 1 deletion src/components/dropdown/dropdown-text.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const BDropdownText = /*#__PURE__*/ Vue.extend({
}
},
render(h, { props, data, children }) {
return h('li', [
return h('li', { attrs: { role: 'presentation' } }, [
h(
props.tag,
mergeData(data, {
Expand Down