Skip to content

Prevent click on generate button if form is invalid#69

Open
strokyl wants to merge 1 commit intoLAB-MI:masterfrom
strokyl:prevent_pdf_gen_when_form_invalid
Open

Prevent click on generate button if form is invalid#69
strokyl wants to merge 1 commit intoLAB-MI:masterfrom
strokyl:prevent_pdf_gen_when_form_invalid

Conversation

@strokyl
Copy link

@strokyl strokyl commented Apr 11, 2020

No description provided.

@NyKo24
Copy link

NyKo24 commented Apr 11, 2020

Que pense-tu de la proposition sur l'issue #79 ?

@strokyl
Copy link
Author

strokyl commented Apr 12, 2020

J'en pense cela: #50 (comment)

@mthgbr
Copy link

mthgbr commented Apr 15, 2020

+1

@Pign
Copy link

Pign commented Apr 15, 2020

Au lieu de refaire la validation il est possible d'utiliser les champs aria déjà définis.
Par ailleurs il vaut mieux utiliser aria-disabled="true" que disabled... En effet, avec disabled il n'y a pas de feedback audio pour un utilisateur aveugle (puisque le focus n'atteindra jamais "disabled")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants