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/464d257 below:

add `role=presentation` to `<li>` elements for improv… · bootstrap-vue/bootstrap-vue@464d257 · GitHub

File tree Expand file treeCollapse file tree 7 files changed

+8

-7

lines changed

Filter options

Expand file treeCollapse file tree 7 files changed

+8

-7

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

@@ -15,7 +15,7 @@ export const BDropdownDivider = /*#__PURE__*/ Vue.extend({

15 15

inheritAttrs: false,

16 16

props,

17 17

render(h, { props, data }) {

18 -

return h('li', [

18 +

return h('li', { attrs: { role: 'presentation' } }, [

19 19

h(

20 20

props.tag,

21 21

mergeData(data, {

Original file line number Diff line number Diff line change

@@ -14,7 +14,7 @@ export const BDropdownForm = /*#__PURE__*/ Vue.extend({

14 14

}

15 15

},

16 16

render(h, { props, data, children }) {

17 -

return h('li', [

17 +

return h('li', { attrs: { role: 'presentation' } }, [

18 18

h(

19 19

BForm,

20 20

mergeData(data, {

Original file line number Diff line number Diff line change

@@ -62,14 +62,15 @@ export const BDropdownGroup = /*#__PURE__*/ Vue.extend({

62 62

.join(' ')

63 63

.trim()

64 64 65 -

return h('li', [

65 +

return h('li', { attrs: { role: 'presentation' } }, [

66 66

header || h(),

67 67

h(

68 68

'ul',

69 69

mergeData(data, {

70 70

staticClass: 'list-unstyled',

71 71

attrs: {

72 72

id: props.id || null,

73 +

role: 'group',

73 74

'aria-describedby': adb || null

74 75

}

75 76

}),

Original file line number Diff line number Diff line change

@@ -23,7 +23,7 @@ export const BDropdownHeader = /*#__PURE__*/ Vue.extend({

23 23

inheritAttrs: false,

24 24

props,

25 25

render(h, { props, data, children }) {

26 -

return h('li', [

26 +

return h('li', { attrs: { role: 'presentation' } }, [

27 27

h(

28 28

props.tag,

29 29

mergeData(data, {

Original file line number Diff line number Diff line change

@@ -43,7 +43,7 @@ export const BDropdownItemButton = /*#__PURE__*/ Vue.extend({

43 43

}

44 44

},

45 45

render(h) {

46 -

return h('li', [

46 +

return h('li', { attrs: { role: 'presentation' } }, [

47 47

h(

48 48

'button',

49 49

{

Original file line number Diff line number Diff line change

@@ -37,7 +37,7 @@ export const BDropdownItem = /*#__PURE__*/ Vue.extend({

37 37

}

38 38

},

39 39

render(h) {

40 -

return h('li', [

40 +

return h('li', { attrs: { role: 'presentation' } }, [

41 41

h(

42 42

BLink,

43 43

{

Original file line number Diff line number Diff line change

@@ -17,7 +17,7 @@ export const BDropdownText = /*#__PURE__*/ Vue.extend({

17 17

}

18 18

},

19 19

render(h, { props, data, children }) {

20 -

return h('li', [

20 +

return h('li', { attrs: { role: 'presentation' } }, [

21 21

h(

22 22

props.tag,

23 23

mergeData(data, {

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