Skip to content

Commit

Permalink
Merge pull request #1325 from liferay/pr-1224
Browse files Browse the repository at this point in the history
Fixes #1174 - Remove redundant aria-label in clayButton
  • Loading branch information
matuzalemsteles authored Nov 22, 2018
2 parents ff29726 + 0faa10d commit 3bf0b7b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/clay-button/src/ClayButton.soy
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@

{if $ariaLabel}
aria-label="{$ariaLabel}"
{elseif $label}
aria-label="{$label}"
{elseif $icon}
{elseif $icon and not $label}
aria-label="{$icon}"
{/if}

Expand Down

0 comments on commit 3bf0b7b

Please sign in to comment.