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

Fix a11y audit 7-1 #2695

Merged
merged 3 commits into from
Oct 1, 2024
Merged

Conversation

louismaximepiton
Copy link
Member

@louismaximepiton louismaximepiton commented Aug 20, 2024

Related issues

#2667 7-1

Description

  • Rearrange the tarteaucitron modal structure.

Motivation & Context

Read the related issue. The switch was too far away from the label.

Types of change

  • Bug fix (non-breaking which fixes an issue)

Live previews

@louismaximepiton louismaximepiton added v5 accessibility docs Improvements or additions to documentation labels Aug 20, 2024
Copy link

netlify bot commented Aug 20, 2024

Deploy Preview for boosted ready!

Name Link
🔨 Latest commit c7ec210
🔍 Latest deploy log https://app.netlify.com/sites/boosted/deploys/66fb8db119b9c50008a93d0a
😎 Deploy Preview https://deploy-preview-2695--boosted.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@louismaximepiton louismaximepiton changed the title Fix a11y audit 7-1 Fix a11y audit 7-1 and 7-3 Aug 20, 2024
@louismaximepiton louismaximepiton changed the title Fix a11y audit 7-1 and 7-3 Fix a11y audit 7-1 Aug 20, 2024
Copy link
Member

@hannahiss hannahiss left a comment

Choose a reason for hiding this comment

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

LGTM as you say 😄

@julien-deramond
Copy link
Contributor

It was not seen in the accessibility audit, but with the new tarteaucitron version, there's a "Save" button. Don't you think there's an issue with the focus order, where the "Save" button is focused after the footer link? Can be tackled in another PR.
/cc @hannahiss

@hannahiss
Copy link
Member

It was not seen in the accessibility audit, but with the new tarteaucitron version, there's a "Save" button. Don't you think there's an issue with the focus order, where the "Save" button is focused after the footer link? Can be tackled in another PR. /cc @hannahiss

Yes, the order is strange... I vote for another PR 😉

@julien-deramond
Copy link
Contributor

It was not seen in the accessibility audit, but with the new tarteaucitron version, there's a "Save" button. Don't you think there's an issue with the focus order, where the "Save" button is focused after the footer link? Can be tackled in another PR. /cc @hannahiss

Yes, the order is strange... I vote for another PR 😉

Added to the audit issue as a bonus task since it can be a problem during the next one.

@julien-deramond julien-deramond self-requested a review October 1, 2024 05:57
@julien-deramond julien-deramond merged commit a71458a into main Oct 1, 2024
14 checks passed
@julien-deramond julien-deramond deleted the main-lmp-a11y-7-1-label-tarteaucitron branch October 1, 2024 05:59
@louismaximepiton
Copy link
Member Author

It was not seen in the accessibility audit, but with the new tarteaucitron version, there's a "Save" button. Don't you think there's an issue with the focus order, where the "Save" button is focused after the footer link? Can be tackled in another PR. /cc @hannahiss

It seems like moving the link after the Save button breaks, because of the tarteaucitron focus trap. If the link is moved after the button manually, you can't focus it anymore (even doing it manually). I'd say it's not easily feasible.

@julien-deramond
Copy link
Contributor

It seems like moving the link after the Save button breaks, because of the tarteaucitron focus trap. If the link is moved after the button manually, you can't focus it anymore (even doing it manually). I'd say it's not easily feasible.

In your opinion, we abandon this modification?

@louismaximepiton
Copy link
Member Author

We can abandon this until AmauriC/tarteaucitron.js#1280 is tackled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility docs Improvements or additions to documentation v5
Projects
Development

Successfully merging this pull request may close these issues.

3 participants