diff options
author | surfdude29 <149612116+surfdude29@users.noreply.github.com> | 2025-08-04 11:49:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-04 03:49:35 -0700 |
commit | 14e39c4aecb8373b692c706bf27e49b0b72918b2 (patch) | |
tree | a62913a81af3cfafc09e7fd7c6f71da80923eec9 /src/components | |
parent | 598641742e019a3324179a88d5aa41b0b6b29537 (diff) | |
download | voidsky-14e39c4aecb8373b692c706bf27e49b0b72918b2.tar.zst |
Tweak accessibility label (#8767)
* tweak accessibility label * change `alert` to `message` and add comment instead of context * tweak comment
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/Toast/index.web.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/components/Toast/index.web.tsx b/src/components/Toast/index.web.tsx index f6ceda568..f2517e28d 100644 --- a/src/components/Toast/index.web.tsx +++ b/src/components/Toast/index.web.tsx @@ -78,7 +78,12 @@ export const ToastContainer: React.FC<ToastContainerProps> = ({}) => { <Toast content={activeToast.content} type={activeToast.type} /> <Pressable style={[a.absolute, a.inset_0]} - accessibilityLabel={_(msg`Dismiss toast`)} + accessibilityLabel={_( + msg({ + message: `Dismiss message`, + comment: `Accessibility label for dismissing a toast notification`, + }), + )} accessibilityHint="" onPress={() => setActiveToast(undefined)} /> |