diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-09-22 17:04:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-22 17:04:47 -0700 |
commit | b7697f08d65a0095bfc06578d689b8b8f61bef69 (patch) | |
tree | 128795c3c26d15785fd9e4b038f170c4fdaeac88 /src/view/com/util/Link.tsx | |
parent | 88b95df200af3dd89ff9f629d50840a0ec2047f3 (diff) | |
download | voidsky-b7697f08d65a0095bfc06578d689b8b8f61bef69.tar.zst |
Accessibility fixes: add missing labels, dynamically scale home header (#1516)
* Improve labels * Dynanically adjust home header to account for font scaling
Diffstat (limited to 'src/view/com/util/Link.tsx')
-rw-r--r-- | src/view/com/util/Link.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
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} </Text> ) |