Skip to content

Commit

Permalink
Merge pull request #316 from zbynek/patch-1
Browse files Browse the repository at this point in the history
Accessibility: labels should match input IDs
  • Loading branch information
uhafner authored Dec 5, 2023
2 parents 0962dbc + 758f2fa commit af3d4a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/charts/chart-setup.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@
</label>
</div>
<div class="mb-3">
<label for="builds" class="form-label">Maximum number of builds to consider</label>
<label for="builds-${id}" class="form-label">Maximum number of builds to consider</label>
<input type="number" min="2" class="form-control" id="builds-${id}" required="true"/>
<div id="builds-help-${id}" class="form-text">If set to a value less than 2 then all builds will be
considered.
</div>
</div>
<div class="mb-3">
<label for="days" class="form-label">Maximum number of days to look into the past</label>
<label for="days-${id}" class="form-label">Maximum number of days to look into the past</label>
<input type="number" min="0" class="form-control" id="days-${id}" required="true"/>
<div id="days-help-${id}" class="form-text">If set to a value less than 1 then builds of all days are
considered.
Expand Down

0 comments on commit af3d4a1

Please sign in to comment.