@@ -63,44 +63,44 @@ export class V2InstallTool extends React.Component {
63
63
< h2 > Install a new tool</ h2 >
64
64
< form onSubmit = { this . handleSubmit } >
65
65
< div className = "tool-input" >
66
- < label for = "name" >
66
+ < label htmlFor = "name" >
67
67
Name:
68
68
</ label >
69
- < input type = "text" name = "name" value = { this . state . name } onChange = { this . handleChange } />
69
+ < input type = "text" id = "name" value = { this . state . name } onChange = { this . handleChange } />
70
70
</ div >
71
71
< div className = "tool-input" >
72
- < label for = "version" >
72
+ < label htmlFor = "version" >
73
73
Version:
74
74
</ label >
75
- < input type = "text" name = "version" value = { this . state . version } onChange = { this . handleChange } />
75
+ < input type = "text" id = "version" value = { this . state . version } onChange = { this . handleChange } />
76
76
</ div >
77
77
< div className = "tool-input" >
78
- < label for = "packager" >
78
+ < label htmlFor = "packager" >
79
79
Packager:
80
80
</ label >
81
- < input type = "text" name = "packager" value = { this . state . packager } onChange = { this . handleChange } />
81
+ < input type = "text" id = "packager" value = { this . state . packager } onChange = { this . handleChange } />
82
82
</ div >
83
83
< div className = "tool-input" >
84
- < label for = "url" >
84
+ < label htmlFor = "url" >
85
85
Url:
86
86
</ label >
87
- < input type = "text" name = "url" value = { this . state . url } onChange = { this . handleChange } />
87
+ < input type = "text" id = "url" value = { this . state . url } onChange = { this . handleChange } />
88
88
</ div >
89
89
< div className = "tool-input" >
90
- < label for = "checksum" >
90
+ < label htmlFor = "checksum" >
91
91
Checksum:
92
92
</ label >
93
- < input type = "text" name = "checksum" value = { this . state . checksum } onChange = { this . handleChange } />
93
+ < input type = "text" id = "checksum" value = { this . state . checksum } onChange = { this . handleChange } />
94
94
</ div >
95
95
< div className = "tool-input" >
96
- < label for = "signature" >
96
+ < label htmlFor = "signature" >
97
97
Signature:
98
98
</ label >
99
- < input type = "text" name = "signature" value = { this . state . signature } onChange = { this . handleChange } />
99
+ < input type = "text" id = "signature" value = { this . state . signature } onChange = { this . handleChange } />
100
100
</ div >
101
101
< input type = "submit" value = "Submit" />
102
102
</ form >
103
- < textarea cols = "100" rows = "10" value = { this . state . res } readOnly > </ textarea >
103
+ < textarea aria-label = "Install tool output" cols = "100" rows = "10" value = { this . state . res } readOnly > </ textarea >
104
104
</ section >
105
105
) ;
106
106
}
0 commit comments