Skip to content

Commit 32eb8ed

Browse files
gergely-nagyTheSharpieOne
authored andcommitted
fix(Carousel): remove inappropriate role=listbox (#1385)
1 parent 42a32c7 commit 32eb8ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Carousel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class Carousel extends React.Component {
9696
renderItems(carouselItems, className) {
9797
const { slide } = this.props;
9898
return (
99-
<div role="listbox" className={className}>
99+
<div className={className}>
100100
{carouselItems.map((item, index) => {
101101
const isIn = (index === this.props.activeIndex);
102102
return React.cloneElement(item, {

0 commit comments

Comments
 (0)