From b7697f08d65a0095bfc06578d689b8b8f61bef69 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Fri, 22 Sep 2023 17:04:47 -0700 Subject: Accessibility fixes: add missing labels, dynamically scale home header (#1516) * Improve labels * Dynanically adjust home header to account for font scaling --- src/view/com/util/Link.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/view/com/util/Link.tsx') diff --git a/src/view/com/util/Link.tsx b/src/view/com/util/Link.tsx index 1a6f047f6..8734cf32f 100644 --- a/src/view/com/util/Link.tsx +++ b/src/view/com/util/Link.tsx @@ -142,6 +142,7 @@ export const TextLink = observer(function TextLink({ dataSet, title, onPress, + ...orgProps }: { testID?: string type?: TypographyVariant @@ -190,7 +191,8 @@ export const TextLink = observer(function TextLink({ title={title} // @ts-ignore web only -prf hrefAttrs={hrefAttrs} // hack to get open in new tab to work on safari. without this, safari will open in a new window - {...props}> + {...props} + {...orgProps}> {text} ) -- cgit 1.4.1