mirror of
https://github.com/immich-app/immich.git
synced 2025-11-24 23:40:45 +09:00
feat(web): announce notifications to screen readers (#12071)
This commit is contained in:
@@ -91,6 +91,8 @@
|
||||
size="20"
|
||||
padding="2"
|
||||
on:click={discard}
|
||||
aria-hidden="true"
|
||||
tabindex={-1}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -108,6 +110,8 @@
|
||||
type="button"
|
||||
class="{buttonStyle[notification.type]} rounded px-3 pt-1.5 pb-1 transition-all duration-200"
|
||||
on:click={handleButtonClick}
|
||||
aria-hidden="true"
|
||||
tabindex={-1}
|
||||
>
|
||||
{notification.button.text}
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user