Skip to content

Commit

Permalink
fix(radio-tile): change div to span in label
Browse files Browse the repository at this point in the history
  • Loading branch information
abbeyhrt committed Nov 25, 2019
1 parent 18ddeaa commit 64ad830
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/react/src/components/RadioTile/RadioTile.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,12 @@ export default class RadioTile extends React.Component {
className={classes}
tabIndex={this.props.tabIndex}
onKeyDown={this.handleKeyDown}>
<div className={`${prefix}--tile__checkmark`}>
<span className={`${prefix}--tile__checkmark`}>
<CheckmarkFilled aria-label={iconDescription}>
{iconDescription && <title>{iconDescription}</title>}
</CheckmarkFilled>
</div>
<div className={`${prefix}--tile-content`}>{children}</div>
</span>
<span className={`${prefix}--tile-content`}>{children}</span>
</label>
</>
);
Expand Down

0 comments on commit 64ad830

Please sign in to comment.