mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
add label visible to screen readers to sensitive input
This commit is contained in:
parent
400c4c3d12
commit
d1677635a5
1 changed files with 2 additions and 0 deletions
|
|
@ -14,9 +14,11 @@
|
|||
</script>
|
||||
|
||||
<div class={outerClassName}>
|
||||
<label class="sr-only" for="password-input">{placeholder || $i18n.t('Password')}</label>
|
||||
<input
|
||||
class={`${inputClassName} ${show ? '' : 'password'}`}
|
||||
{placeholder}
|
||||
id="password-input"
|
||||
bind:value
|
||||
required={required && !readOnly}
|
||||
disabled={readOnly}
|
||||
|
|
|
|||
Loading…
Reference in a new issue