-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A11y - Updated input with no label. #2150
Conversation
Co-authored-by: Matthew Nickson <mnickson@sidingsmedia.com>
Should we use |
@@ -10,7 +10,7 @@ | |||
<font-awesome-icon icon="times" /> | |||
</a> | |||
<form> | |||
<input v-model="searchText" class="form-control search-input" :placeholder="$t('Search...')" autocomplete="off" /> | |||
<input v-model="searchText" class="form-control search-input" :placeholder="$t('Search...')" autocomplete="off" aria-label="Search monitored sites" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about such a change (plus adding this to the translation file(s) you can)
<input v-model="searchText" class="form-control search-input" :placeholder="$t('Search...')" autocomplete="off" aria-label="Search monitored sites" /> | |
<input v-model="searchText" class="form-control search-input" :placeholder="$t('Search...')" autocomplete="off" :aria-label="$t('Search monitored sites')" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On my side, i agree with this suggestion.
Closing this PR in favor of #4163, as I don't think the requested/suggested changes will be implemented |
https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md#can-i-create-a-pull-request-for-uptime-kuma
Tick the checkbox if you understand [x]:
Description
Updated search form input that is missing label. Added aria-label as no valid label in document. Aria-label documentation
Fixes #(issue)
Type of change
Please delete any options that are not relevant.
Checklist
(including JSDoc for methods)
Screenshots (if any)
Please do not use any external image service. Instead, just paste in or drag and drop the image here, and it will be uploaded automatically.