@@ -12,7 +12,7 @@ <h1>Version 2: Advanced Validation and Schema Patterns</h1>
1212 < input
1313 type ="text "
1414 [field] ="registrationForm.username "
15- [ariaInvalid ] ="ariaInvalidState(registrationForm.username) "
15+ [aria-invalid ] ="ariaInvalidState(registrationForm.username) "
1616 />
1717 @if (registrationForm.username().pending()) {
1818 < small > Checking availability ...</ small >
@@ -27,7 +27,7 @@ <h1>Version 2: Advanced Validation and Schema Patterns</h1>
2727 < input
2828 type ="number "
2929 [field] ="registrationForm.age "
30- [ariaInvalid ] ="ariaInvalidState(registrationForm.age) "
30+ [aria-invalid ] ="ariaInvalidState(registrationForm.age) "
3131 />
3232 < app-form-error [fieldRef] ="registrationForm.age " />
3333 </ label >
@@ -40,7 +40,7 @@ <h1>Version 2: Advanced Validation and Schema Patterns</h1>
4040 type ="password "
4141 autocomplete
4242 [field] ="registrationForm.password.pw1 "
43- [ariaInvalid ] ="ariaInvalidState(registrationForm.password.pw1) "
43+ [aria-invalid ] ="ariaInvalidState(registrationForm.password.pw1) "
4444 />
4545 < app-form-error [fieldRef] ="registrationForm.password.pw1 " />
4646 </ label >
@@ -50,7 +50,7 @@ <h1>Version 2: Advanced Validation and Schema Patterns</h1>
5050 type ="password "
5151 autocomplete
5252 [field] ="registrationForm.password.pw2 "
53- [ariaInvalid ] ="ariaInvalidState(registrationForm.password.pw2) "
53+ [aria-invalid ] ="ariaInvalidState(registrationForm.password.pw2) "
5454 />
5555 < app-form-error [fieldRef] ="registrationForm.password.pw2 " />
5656 </ label >
@@ -68,8 +68,8 @@ <h1>Version 2: Advanced Validation and Schema Patterns</h1>
6868 < input
6969 type ="email "
7070 [field] ="emailField "
71- [ariaLabel ] ="'E-Mail ' + $index "
72- [ariaInvalid ] ="ariaInvalidState(emailField) "
71+ [aria-label ] ="'E-Mail ' + $index "
72+ [aria-invalid ] ="ariaInvalidState(emailField) "
7373 />
7474 < button type ="button " (click) ="removeEmail($index) "> -</ button >
7575 </ div >
@@ -99,7 +99,7 @@ <h1>Version 2: Advanced Validation and Schema Patterns</h1>
9999 > I agree to the terms and conditions
100100 < input
101101 type ="checkbox "
102- [ariaInvalid ] ="ariaInvalidState(registrationForm.agreeToTermsAndConditions) "
102+ [aria-invalid ] ="ariaInvalidState(registrationForm.agreeToTermsAndConditions) "
103103 [field] ="registrationForm.agreeToTermsAndConditions "
104104 />
105105 </ label >
@@ -110,7 +110,7 @@ <h1>Version 2: Advanced Validation and Schema Patterns</h1>
110110 < button
111111 type ="submit "
112112 [disabled] ="registrationForm().submitting() "
113- [ariaBusy ] ="registrationForm().submitting() "
113+ [aria-busy ] ="registrationForm().submitting() "
114114 >
115115 @if (registrationForm().submitting()) {
116116 Registering ...
0 commit comments