mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 20:33:02 +00:00
fix(modal): close icon should not have aria-label
This commit is contained in:
parent
4ecfcec17d
commit
a72cf85ec2
1 changed files with 2 additions and 10 deletions
|
@ -227,11 +227,7 @@
|
|||
open = false;
|
||||
}}"
|
||||
>
|
||||
<Close
|
||||
size="{20}"
|
||||
aria-label="{iconDescription}"
|
||||
class="bx--modal-close__icon"
|
||||
/>
|
||||
<Close size="{20}" class="bx--modal-close__icon" />
|
||||
</button>
|
||||
{/if}
|
||||
{#if modalLabel}
|
||||
|
@ -252,11 +248,7 @@
|
|||
open = false;
|
||||
}}"
|
||||
>
|
||||
<Close
|
||||
size="{20}"
|
||||
aria-label="{iconDescription}"
|
||||
class="bx--modal-close__icon"
|
||||
/>
|
||||
<Close size="{20}" class="bx--modal-close__icon" />
|
||||
</button>
|
||||
{/if}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue