8000
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.
1 parent 7c584e4 commit 4de6508Copy full SHA for 4de6508
src/dropdown/CDropdownToggle.js
@@ -59,7 +59,8 @@ const CDropdownToggle = props => {
59
'aria-expanded': isOpen ? 'true' : 'false',
60
'aria-haspopup': 'true',
61
'aria-label': 'Dropdown toggle',
62
- [`${tag && typeof tag === 'string' ? 'ref' : 'innerRef'}`]: setReference
+ [`${tag && typeof tag === 'string' ? 'ref' : 'innerRef'}`]: setReference,
63
+ 'role': Tag === CButton ? null : 'button'
64
}
65
66
if (split) {
0 commit comments