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

Corrige les défaut d'accessibilité de la page de création de compte accessibilité #10822

Merged
merged 8 commits into from
Oct 1, 2024

Conversation

inseo
Copy link
Contributor

@inseo inseo commented Sep 19, 2024

La PR vise à :

  • Compléter le titre de page ;
  • Expliciter la signification de l'astérisque ;
  • Supprimer un commentaire HTML ;
  • Supprimer la balise nav contenante en l'absence de navigation secondaire ;

Après
Capture d’écran 2024-08-12 à 15 56 33

Avant
Capture d’écran 2024-08-12 à 15 54 28

  • Supprimer le div .fr-grid-row.fr-grid-row--gutters en l'absence de contenu ;
  • Rétabli la marge entre le formulaire et la navgation lorsqu'il y a un seul formulaire de recherche ;

Après
Capture d’écran 2024-09-19 à 17 03 19

Avant
Capture d’écran 2024-09-19 à 17 03 28

  • Et éviter la perte du focus lorsqu'une suggestion est acceptée ou refusée.

Après

Perte.de.focus.-.apres.mp4

Avant

Perte.de.focus.-.avant.mp4

@inseo inseo force-pushed the a11y-fix-process-create-account-bis branch from 6f76eca to 29141d6 Compare September 19, 2024 10:18
@inseo inseo changed the title A11y fix process create account bis Corrige les défaut d'accessibilité de la page de création de compte accessibilité Sep 19, 2024
Copy link

codecov bot commented Sep 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.68%. Comparing base (ca6b413) to head (480c8f4).
Report is 9 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10822      +/-   ##
==========================================
- Coverage   84.70%   84.68%   -0.02%     
==========================================
  Files        1130     1130              
  Lines       25055    25055              
  Branches     4699     4699              
==========================================
- Hits        21222    21219       -3     
- Misses       3833     3836       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@inseo inseo force-pushed the a11y-fix-process-create-account-bis branch from 29141d6 to b0f8b7a Compare September 19, 2024 10:36
@inseo inseo requested a review from colinux September 19, 2024 11:05
@inseo
Copy link
Contributor Author

inseo commented Sep 19, 2024

@colin : Reprise de la PR précédente (je ne m'en sortais pas avec le rebase... -_-) incluant les modifications demandées.

@inseo inseo force-pushed the a11y-fix-process-create-account-bis branch 2 times, most recently from 21b3e90 to fc07547 Compare September 19, 2024 14:23
@inseo inseo self-assigned this Sep 19, 2024
@inseo inseo force-pushed the a11y-fix-process-create-account-bis branch 3 times, most recently from 471a7c6 to f5a3474 Compare September 24, 2024 14:36
dossiers_path(statut: 'traites', procedure_id: params[:procedure_id]),
active: @statut == 'traites',
badge: number_with_html_delimiter(@dossiers_traites.count))
- if @user_dossiers.present? || @dossiers_traites.present? || @dossiers_invites.present? || @dossiers_close_to_expiration.present? || @dossiers_supprimes.present? || @dossier_transferes.present?
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- if @user_dossiers.present? || @dossiers_traites.present? || @dossiers_invites.present? || @dossiers_close_to_expiration.present? || @dossiers_supprimes.present? || @dossier_transferes.present?
- if [@user_dossiers, @dossiers_traites, @dossiers_invites, @dossiers_close_to_expiration, @dossiers_supprimes, @dossier_transferes].any?(&:present?)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggestion appliquée.
Merci @mfo !

Copy link
Contributor

@mfo mfo left a comment

Choose a reason for hiding this comment

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

lgtm - juste une petite amélioration de synthax serait jouable.

@inseo inseo force-pushed the a11y-fix-process-create-account-bis branch from f5a3474 to 480c8f4 Compare October 1, 2024 08:16
@inseo inseo added this pull request to the merge queue Oct 1, 2024
Merged via the queue into main with commit dbb34d2 Oct 1, 2024
18 checks passed
@inseo inseo deleted the a11y-fix-process-create-account-bis branch October 1, 2024 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Communiqué, ou a ne pas communiqué
Development

Successfully merging this pull request may close these issues.

2 participants