Skip to content

Commit

Permalink
fix(Carousel): remove inappropriate role=listbox (#1385)
Browse files Browse the repository at this point in the history
  • Loading branch information
gergely-nagy authored and TheSharpieOne committed Jan 30, 2019
1 parent 42a32c7 commit 32eb8ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Carousel.js
Expand Up @@ -96,7 +96,7 @@ class Carousel extends React.Component {
renderItems(carouselItems, className) {
const { slide } = this.props;
return (
<div role="listbox" className={className}>
<div className={className}>
{carouselItems.map((item, index) => {
const isIn = (index === this.props.activeIndex);
return React.cloneElement(item, {
Expand Down

0 comments on commit 32eb8ed

Please sign in to comment.