A11Y: Associate label with input in bookmark modal (#18371)

This commit is contained in:
Penar Musaraj 2022-09-27 09:18:59 -04:00 committed by GitHub
parent 250c0bccbd
commit b97cb222c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,8 +20,10 @@
</div>
</div>
<div class="control-group custom-date-time-wrap custom-relative-wrap">
<label class="control-label">{{i18n "relative_time_picker.relative"}}</label>
<RelativeTimePicker @onChange={{action "relativeTimeChanged"}} />
<label class="control-label" for="bookmark-relative-time-picker">
{{i18n "relative_time_picker.relative"}}
</label>
<RelativeTimePicker @id="bookmark-relative-time-picker" @onChange={{action "relativeTimeChanged"}} />
</div>
{{/if}}
{{/if}}