File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ <h2>Simple form</h2>
19
19
20
20
< label for ="simple-field "> Desired username*:</ label >
21
21
< auto-check csrf ="foo " src ="/demo " required >
22
- < input id ="simple-field " autofocus name ="foo " required />
23
- < code aria-live ="polite " class ="state "> </ code >
22
+ < input id ="simple-field " autofocus name ="foo " required aria-describedy =" state1 " />
23
+ < code id =" state1 " aria-atomic =" true " aria-live ="polite " class ="state "> </ code >
24
24
</ auto-check >
25
25
< button value ="1 " name ="form "> submit</ button >
26
26
</ form >
@@ -33,8 +33,8 @@ <h2>Form that has custom validity messages</h2>
33
33
34
34
< label for ="custom-field "> Desired username*:</ label >
35
35
< auto-check csrf ="foo " src ="/demo " required >
36
- < input id ="custom-field " autofocus class ="json " name ="foo " required />
37
- < code aria-live ="polite " class ="state "> </ code >
36
+ < input id ="custom-field " autofocus class ="json " name ="foo " required aria-describedby =" state2 " />
37
+ < code id =" state2 " aria-atomic =" true " aria-live ="polite " class ="state "> </ code >
38
38
</ auto-check >
39
39
< button value ="2 " name ="form "> submit</ button >
40
40
</ form >
You can’t perform that action at this time.
0 commit comments