Skip to content

feat(ui): expose aria labels as props#3175

Merged
m0ksem merged 4 commits intoepicmaxco:developfrom
m0ksem:fix#3104/aria-label-props
Apr 4, 2023
Merged

feat(ui): expose aria labels as props#3175
m0ksem merged 4 commits intoepicmaxco:developfrom
m0ksem:fix#3104/aria-label-props

Conversation

@m0ksem
Copy link
Copy Markdown
Member

@m0ksem m0ksem commented Mar 15, 2023

Simply expose aria-labels as props, so it can be changed by user. Still use translation (also, it makes it noticeable in docs, that there are translations for aria things). The pattern is aria[thingName]Label.

closes #3104

Wonder if there is some other aria things to translate.

We need also improve docs and add few words about props with default value like $t:goToSpecificPage wihch can be Перехід до {page} сторінки. There were a few places... Gonna make it after review. in different PR.

Small demo for Select, for other components it will be easier to add docs in scope of split translation PR:
image

I also need another mind, maybe need to rename some props.

@m0ksem m0ksem requested a review from rustem-nasyrov March 15, 2023 11:17
@m0ksem m0ksem self-assigned this Mar 15, 2023
@m0ksem m0ksem requested a review from kushich March 23, 2023 21:33
@m0ksem m0ksem mentioned this pull request Mar 23, 2023
63 tasks
@m0ksem m0ksem requested a review from rustem-nasyrov April 3, 2023 12:46
@m0ksem m0ksem added feature Something useful to end user accessibility Relates to accessibility labels Apr 4, 2023
@m0ksem m0ksem merged commit 95b222b into epicmaxco:develop Apr 4, 2023
m0ksem added a commit to asvae/vuestic-ui that referenced this pull request Apr 6, 2023
* feat(ui): expose aria labels as props

* docs(select): description for aria label props

* fix(counter): label translation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accessibility Relates to accessibility feature Something useful to end user

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add accessibility to form components

2 participants