Skip to content
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

Replace custom input field with NcTextField #40043

Conversation

JuliaKirschenheuter
Copy link
Contributor

@JuliaKirschenheuter JuliaKirschenheuter commented Aug 25, 2023

Summary

Replace custom input field with NcInputField

Before After
Screenshot from 2023-08-25 15-55-45 Screenshot from 2023-08-28 14-50-33

Checklist

Copy link
Contributor

@ShGKme ShGKme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really related to this PR, but should we also add aria-label and aria-haspopup to the emoji picker button here for a11y?

apps/user_status/src/components/CustomMessageInput.vue Outdated Show resolved Hide resolved
apps/user_status/src/components/CustomMessageInput.vue Outdated Show resolved Hide resolved
@JuliaKirschenheuter
Copy link
Contributor Author

Not really related to this PR, but should we also add aria-label and aria-haspopup to the emoji picker button here for a11y?

@ShGKme could you please open new NcVue issue regarding this? Thanks a lot!

@ShGKme
Copy link
Contributor

ShGKme commented Aug 28, 2023

@ShGKme could you please open new NcVue issue regarding this? Thanks a lot!

A trigger button is not a part of <NcEmojiPicker>, it's passed via slot. So those attrs should be set where the component is used.

Not sure about aria-label here because the button also has the text (emoji itself). Maybe it should be aria-description.

@JuliaKirschenheuter JuliaKirschenheuter force-pushed the fix/37083-input_field_is_not_available_to_visually_impaired branch from 12ecdb1 to a953b16 Compare August 28, 2023 13:06
@JuliaKirschenheuter JuliaKirschenheuter force-pushed the fix/37083-input_field_is_not_available_to_visually_impaired branch from fc79503 to abbe949 Compare August 29, 2023 09:36
@JuliaKirschenheuter JuliaKirschenheuter changed the title Replace custom input field with NcInputField Replace custom input field with NcTextField Aug 29, 2023
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
@JuliaKirschenheuter JuliaKirschenheuter force-pushed the fix/37083-input_field_is_not_available_to_visually_impaired branch from abbe949 to 381e3ed Compare August 31, 2023 09:38
@JuliaKirschenheuter JuliaKirschenheuter merged commit aba3f99 into master Aug 31, 2023
41 checks passed
@JuliaKirschenheuter JuliaKirschenheuter deleted the fix/37083-input_field_is_not_available_to_visually_impaired branch August 31, 2023 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
4 participants