Closed (fixed)
Project:
Klaro Cookie & Consent Management
Version:
3.0.0-rc12
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
29 Nov 2024 at 13:00 UTC
Updated:
5 Dec 2024 at 15:53 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
deepali sardana commentedComment #3
deepali sardana commentedI have created the patch please review it.
Comment #4
jan kellermann commentedIf we change the attrbute to "role", the error "Uses ARIA roles on incompatible elements" occurs.
Maybe the use of the "role"-attribute for the label-element is wrong because the label is via attributes associated to the input-element.
So we have to remove the attributes "role" and "aria-checked"?
Comment #5
jan kellermann commentedComment #8
jan kellermann commentedTodos after discussing in slack #accessibility:
Comment #9
rkollerthe checkbox doesnt need a tabindex, checkboxes are already included in the tabindex out of the box, same for aria-checked. if you take another look at the video i've shared on slack, there you notice that the checkbox is already tab-able (it is just missing a visible focusoutline) and it is already announced as unchecked. so i think tabindex and aria-checked have simply to be removed from the label instead of moving them over to the input element.
Comment #12
jan kellermann commentedThank @rkoller.
The focus-outline was missing, I added this to CSS.
The tabindex-attribute for input element is needed - else the element-order is wrong.
I opened a MR. Please review.
Comment #13
jan kellermann commentedFeedback via public Slack Channel.
Comment #14
jan kellermann commentedIs merged and will be part of next RC.
Comment #16
rkollerComment #17
jan kellermann commented