[BUG] aria-label on kirby-radio-group is not forwarded to ion-radio-group #3795
Labels
accessibility
bug
👶🏻 New
For new issues before prioritisation and refinement
NOT Prioritized
Issue not yet prioritized and added to a Milestone
NOT Verified
Applied to bug reports that have not been verified by a member of @kirbydesign/kirby-guild
Describe the bug
Setting an aria-label on kirby-radio-group has no effect, as the form-control is actually the ion-radio-group within. We should take any aria-label attribute added to kirby-radio-group and set it on ion-radio-group instead.
Please note - we already have support for correct labelling when the radio group is used inside a form-field, so this is only for 'standalone' radio groups with aria-label attributes added.
Describe how to reproduce the bug
aria-label
to thekirby-radio-group
elementThe proposed solution can be further validated by adding the label to
ion-radio-group
instead. Scanning again, the missing label error is now gone.Which Kirby version was used?
10.3.0
What was the expected behavior?
Add any screenshots
Please complete the following information:
Are there any additional context?
Checklist:
The following tasks should be carried out in sequence in order to follow the process of contributing correctly.
Verification
To make sure the bug is not intended behaviour; it should be verified by a member of team Kirby before moving on to implementation.
NOT verified
label has been removed by a member of team Kirby; do not proceed until this is done.Implementation
The contributor who wants to implement this issue should:
Review
Once the issue has been implemented and is ready for review:
The text was updated successfully, but these errors were encountered: