-
Notifications
You must be signed in to change notification settings - Fork 29
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
Task/FOUR-19875: aria-label property is the same in all options in the select list component generating unexpected behaviors for screen readers #1769
base: release-2024-fall
Are you sure you want to change the base?
Conversation
screen-builder Run #1667
Run Properties:
|
Project |
screen-builder
|
Branch Review |
task/FOUR-19875
|
Run status |
Passed #1667
|
Run duration | 09m 01s |
Commit |
3cc49e2a9e: Task/FOUR-19875: aria-label property is the same in all options in the select li...
|
Committer | Agustín Busso |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
19
|
Skipped |
0
|
Passing |
360
|
View all changes introduced in this branch ↗︎ |
|
||
<label v-if="renderAs === 'checkbox'" for="aria-label">{{ $t('Aria Label') }}</label> | ||
<b-form-input v-if="renderAs === 'checkbox'" id="aria-label" v-model="optionAriaLabel" placeholder="Aria Label Property" data-cy="inspector-options-aria-label" /> | ||
<small v-if="renderAs === 'checkbox'" class="form-text text-muted mb-3">{{ $t('Enter the property name for the aria label from the Request data variable.') }}</small> |
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.
this translation label need to be registered in the core project, thanks
<label v-if="renderAs === 'checkbox'" for="aria-label">{{ $t('Aria Label') }}</label> | ||
<mustache-helper v-if="renderAs === 'checkbox'" /> | ||
<b-form-input v-if="renderAs === 'checkbox'" id="aria-label" v-model="optionAriaLabel" data-cy="inspector-datasource-aria-label"/> | ||
<small v-if="renderAs === 'checkbox'" class="form-text text-muted mb-3">{{ $t('Aria label for accessibility support.') }}</small> |
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.
this label need to be registered in the core project, thanks
Related PRs: |
Issue & Reproduction Steps
Steps to Reproduce:
Current Behavior:
The same aria-label is repeated for each option in the Select List. This is causing that the screen readers for disabilities reads the label question every time. This behavior is unexpected for the customer.
Expected Behavior:
ProcessMaker should allow configure the aria-label for each option in the aria-label property. One for the label and one for each option in the Select List component for the screen readers.
Solution
How to Test
Test the steps above
Related Tickets & Packages
Code Review Checklist
ci:vue-form-elements:task/FOUR-19875