Skip to content

Commit

Permalink
Remove aria-label
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Brain committed Jan 6, 2020
1 parent 7bf348d commit b4a6b87
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/button/template/componentTemplate.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,6 @@ function renderButton({ size, label, color, locale, branding, multiple, layout,
{ ...{ [ ATTRIBUTE.FUNDING_SOURCE ]: source, [ ATTRIBUTE.BUTTON ]: true } }
class={ `${ CLASS.BUTTON } ${ CLASS.NUMBER }-${ i } ${ getCommonButtonClasses({ layout, shape, branding, multiple, env }) } ${ getButtonClasses({ label, color, logoColor }) }` }
role='button'
aria-label={ source }
tabindex={ hasTabIndex && 0 }>
{ source === FUNDING.CARD ? contentText : renderButtonTextDiv({ contentText, personalizedButtonText, impression, branding, allowedAnimation }) }
</div>
Expand Down

0 comments on commit b4a6b87

Please sign in to comment.