Skip to content

Commit

Permalink
fix: Removed the role of button from the expandable tile, resolves #1… (
Browse files Browse the repository at this point in the history
#1702)

* fix: Removed the role of button from the expandable tile, resolves #1583.

* fix: removed the tab index from the div of the expandable tile, resolves 1702.
  • Loading branch information
zgrossbart authored and jnm2377 committed Jan 3, 2019
1 parent 22c01e6 commit 3dfbded
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/components/Tile/Tile.js
Original file line number Diff line number Diff line change
Expand Up @@ -434,10 +434,8 @@ export class ExpandableTile extends Component {
style={tileStyle}
className={classes}
{...other}
role="button"
onClick={this.handleClick}
tabIndex={tabIndex}>
<button className={`${prefix}--tile__chevron`}>
onClick={this.handleClick}>
<button className={`${prefix}--tile__chevron`} tabIndex={tabIndex}>
<Icon
icon={iconChevronDown}
description={
Expand Down

0 comments on commit 3dfbded

Please sign in to comment.