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: 🐛 Amélioration de quelques composants suite audit RGAA #982

Merged
merged 5 commits into from
Dec 18, 2024

Conversation

vincentlaine
Copy link
Collaborator

No description provided.

Copy link

netlify bot commented Nov 26, 2024

Deploy Preview for vue-dsfr-demo ready!

Name Link
🔨 Latest commit 259a118
🔍 Latest deploy log https://app.netlify.com/sites/vue-dsfr-demo/deploys/674596ceaf8d5a000899ca80
😎 Deploy Preview https://deploy-preview-982--vue-dsfr-demo.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.

@vincentlaine vincentlaine changed the base branch from main to develop November 26, 2024 09:37
Copy link

netlify bot commented Nov 26, 2024

Deploy Preview for vue-dsfr failed.

Name Link
🔨 Latest commit d47d61c
🔍 Latest deploy log https://app.netlify.com/sites/vue-dsfr/deploys/675aebe66cf85a0008a0a9f3

Copy link

netlify bot commented Nov 26, 2024

Deploy Preview for docs-vue-dsfr ready!

Name Link
🔨 Latest commit d47d61c
🔍 Latest deploy log https://app.netlify.com/sites/docs-vue-dsfr/deploys/675aebe6dc5d500008ff4a63
😎 Deploy Preview https://deploy-preview-982--docs-vue-dsfr.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.

Copy link

netlify bot commented Nov 26, 2024

Deploy Preview for demo-vue-dsfr ready!

Name Link
🔨 Latest commit d47d61c
🔍 Latest deploy log https://app.netlify.com/sites/demo-vue-dsfr/deploys/675aebe67ca8a90008a843b7
😎 Deploy Preview https://deploy-preview-982--demo-vue-dsfr.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.

src/composables/useCollapsable.ts Outdated Show resolved Hide resolved
Comment on lines 47 to 48
:aria-expanded="expanded"
:aria-controls="breadcrumbId"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Pourquoi supprimer ces attributs ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Je suis pas expert en accessibilité mais c'était dans les recommandations du rapport :

Problème
● 7.1 - majeur : présence d’un état plié (aria-expanded=”false”) non pertinent
Solution
● Supprimer l’attribut aria-expanded
● Supprimer l’attribut aria-controls

Copy link
Collaborator

Choose a reason for hiding this comment

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

C’est très étrange. Je vais me renseigner, je te tiens au courant, merci !

Copy link
Collaborator

Choose a reason for hiding this comment

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

Il faut remplacer le v-show par v-if, ce sera plus propre et ça respectera les recommandations (le bouton ne sera pas rendu)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

J'ai pas vu le mail de github passé, c'est bon je viens de le faire !

Comment on lines 47 to 48
:aria-expanded="expanded"
:aria-controls="breadcrumbId"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Il faut remplacer le v-show par v-if, ce sera plus propre et ça respectera les recommandations (le bouton ne sera pas rendu)

@laruiss laruiss merged commit 8d542de into develop Dec 18, 2024
8 of 13 checks passed
@laruiss laruiss deleted the fix/rgaa branch December 18, 2024 20:16
Copy link

🎉 This PR is included in version 7.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.

2 participants