Skip to content

Commit

Permalink
fix(RadioButton): remove unecessary aria-label
Browse files Browse the repository at this point in the history
  • Loading branch information
dakahn committed Nov 14, 2019
1 parent 4c532ca commit 80d8f60
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/react/src/components/RadioButton/RadioButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,7 @@ class RadioButton extends React.Component {
id={this.uid}
ref={ref}
/>
<label
htmlFor={this.uid}
className={`${prefix}--radio-button__label`}
aria-label={labelText}>
<label htmlFor={this.uid} className={`${prefix}--radio-button__label`}>
<span className={`${prefix}--radio-button__appearance`} />
<span className={innerLabelClasses}>{labelText}</span>
</label>
Expand Down

0 comments on commit 80d8f60

Please sign in to comment.