Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(TextLink): accesibility improvements #1072

Merged
merged 5 commits into from
Apr 9, 2024
Merged

Conversation

atabel
Copy link
Collaborator

@atabel atabel commented Apr 8, 2024

src/theme.tsx Outdated
@@ -13,6 +13,7 @@ const TEXTS_ES = {
disablePasswordVisibility: 'Ocultar contraseña',
loading: 'Cargando',
linkOpensInNewTab: 'Se abre en ventana nueva',
linkOpensInCurrentPage: 'página actual',
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

waiting for real translations:
https://jira.tid.es/browse/LOC-1503

@@ -136,6 +136,7 @@ const RawTouchable = React.forwardRef<TouchableElement, Props>((props, ref) => {
const type = props.type ? props.type : 'button';

const openNewTab = !!props.href && !!props.newTab;
const openInCurrentPage = props.href?.startsWith('#');
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this check is enough, wdyt?

Copy link
Member

@pladaria pladaria Apr 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't think of a counterexample

Copy link

github-actions bot commented Apr 8, 2024

Size stats

master this branch diff
Total JS 10.6 MB 10.6 MB +431 B
JS without icons 1.91 MB 1.92 MB +431 B
Lib overhead 51.2 kB 51.4 kB +157 B
Lib overhead (gzip) 13.8 kB 13.9 kB +44 B

Copy link

github-actions bot commented Apr 8, 2024

Accessibility report
✔️ No issues found

ℹ️ You can run this locally by executing yarn audit-accessibility.

Copy link

github-actions bot commented Apr 8, 2024

Deploy preview for mistica-web ready!

✅ Preview
https://mistica-dgmnlvzex-tuentisre.vercel.app

Built with commit 66db209.
This pull request is being automatically deployed with vercel-action

@yceballost yceballost requested review from aweell and removed request for yceballost April 8, 2024 11:15
@atabel atabel enabled auto-merge April 9, 2024 07:05
@atabel atabel added this pull request to the merge queue Apr 9, 2024
Merged via the queue into master with commit 4179b3e Apr 9, 2024
11 checks passed
@atabel atabel deleted the atoledano-textlink-a11y branch April 9, 2024 07:21
tuentisre pushed a commit that referenced this pull request Apr 9, 2024
# [15.2.0](v15.1.0...v15.2.0) (2024-04-09)

### Features

* **DisplayMediaCard & PosterCard:** use cardContentOverlay token in overlay ([#1074](#1074)) ([a885ce2](a885ce2))
* **TextLink:** accesibility improvements ([#1072](#1072)) ([4179b3e](4179b3e))
@tuentisre
Copy link
Collaborator

🎉 This PR is included in version 15.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants