Redundant aria-label in clayButton #1174
Labels
comp: accessibility
Issues related to accessibility in general
status: next-release
Issues that will enter into the next release
I think that setting the
aria-label
attribute's value according to thelabel
param ifaria-label
param is blank https://github.com/liferay/clay/blob/master/packages/clay-button/src/ClayButton.soy#L52 creates duplicate information, because if alabel
set the content, it will be set both foraria-label
and content will be read by screen readers twice.The text was updated successfully, but these errors were encountered: