mirror of
https://github.com/nextcloud/server.git
synced 2026-03-01 13:00:44 -05:00
Merge pull request #40043 from nextcloud/fix/37083-input_field_is_not_available_to_visually_impaired
Replace custom input field with NcTextField
This commit is contained in:
commit
aba3f99e5e
5 changed files with 16 additions and 15 deletions
|
|
@ -24,21 +24,20 @@
|
|||
<NcButton type="tertiary"
|
||||
class="custom-input__emoji-button"
|
||||
:aria-label="t('user_status', 'Emoji for your status message')">
|
||||
{{ visibleIcon }}
|
||||
<template #icon>
|
||||
{{ visibleIcon }}
|
||||
</template>
|
||||
</NcButton>
|
||||
</NcEmojiPicker>
|
||||
<div class="custom-input__container">
|
||||
<label class="hidden-visually" for="user_status_message">
|
||||
{{ t('user_status', 'What is your status?') }}
|
||||
</label>
|
||||
<input id="user_status_message"
|
||||
ref="input"
|
||||
maxlength="80"
|
||||
<NcTextField maxlength="80"
|
||||
:disabled="disabled"
|
||||
:placeholder="$t('user_status', 'What is your status?')"
|
||||
type="text"
|
||||
:value="message"
|
||||
@input="onChange">
|
||||
ref="input"
|
||||
type="text"
|
||||
:label="t('user_status', 'What is your status?')"
|
||||
@input="onChange" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
|
@ -46,11 +45,13 @@
|
|||
<script>
|
||||
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
|
||||
import NcEmojiPicker from '@nextcloud/vue/dist/Components/NcEmojiPicker.js'
|
||||
import NcTextField from '@nextcloud/vue/dist/Components/NcTextField.js'
|
||||
|
||||
export default {
|
||||
name: 'CustomMessageInput',
|
||||
|
||||
components: {
|
||||
NcTextField,
|
||||
NcButton,
|
||||
NcEmojiPicker,
|
||||
},
|
||||
|
|
|
|||
4
dist/user-status-modal-8299.js
vendored
4
dist/user-status-modal-8299.js
vendored
File diff suppressed because one or more lines are too long
2
dist/user-status-modal-8299.js.map
vendored
2
dist/user-status-modal-8299.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/user_status-menu.js
vendored
4
dist/user_status-menu.js
vendored
File diff suppressed because one or more lines are too long
2
dist/user_status-menu.js.map
vendored
2
dist/user_status-menu.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue