Skip to content

Commit

Permalink
fix: roles
Browse files Browse the repository at this point in the history
  • Loading branch information
mhomolak committed Feb 1, 2017
1 parent 03b1e06 commit ab11ad0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
1 change: 0 additions & 1 deletion src/js/Alert.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ class Alert extends Component {
<li
className = "pe-alert"
id = {`alert-${alertType}-${index}`}
role = "alert"
>

<strong className={`pe-label ${alertType}-title`}>
Expand Down
19 changes: 10 additions & 9 deletions src/js/AlertList.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,16 @@ class AlertList extends Component {

render () {
return (
<ReactCSSTransitionGroup
component="ul"
role="alert"
transitionName="transition"
transitionEnterTimeout={300}
transitionLeaveTimeout={200}
className="alertList">
{this.renderAlert(this.state.alertList)}
</ReactCSSTransitionGroup>
<div role="alert">
<ReactCSSTransitionGroup
component="ul"
transitionName="transition"
transitionEnterTimeout={300}
transitionLeaveTimeout={200}
className="alertList">
{this.renderAlert(this.state.alertList)}
</ReactCSSTransitionGroup>
</div>
)
}

Expand Down

0 comments on commit ab11ad0

Please sign in to comment.