Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
fix(b-nav-form, b-nav-text): ensure these sub-components have
<li>
…
…as root element for accessibility (#4100)
- Loading branch information
Showing
with
142 additions
and 34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -1,19 +1,14 @@ | ||
import Vue from '../../utils/vue' | ||
import { mergeData } from 'vue-functional-data-merge' | ||
|
||
export const props = {} | ||
|
||
// @vue/component | ||
export const BNavText = /*#__PURE__*/ Vue.extend({ | ||
name: 'BNavText', | ||
functional: true, | ||
props, | ||
render(h, { props, data, children }) { | ||
return h('li', mergeData(data, { staticClass: 'navbar-text' }), children) | ||
} | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters