You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
The widget provides many improvements regarding accessibility but does not use the ARIA aria-controls attribute correctly.
Problem:
The aria-controls attribute does not reference a valid target in the DOM structure. As a result, users of assistive technologies (e.g., screen readers) cannot identify which element is being controlled. This reduces usability and violates WCAG guidelines.
Expected Behavior:
The aria-controls attribute should reference the id of an existing and relevant DOM element that is being controlled by the interaction.
Steps to Reproduce: https://codepen.io/jamaikai/pen/VYZypLd
Open the widget.
Inspect the element containing the aria-controls attribute.
Check whether the value of the aria-controls attribute matches the id of an existing DOM element.
Note that the target element is missing or does not exist.
Impact:
Assistive technologies cannot identify the relationship between the controls and the controlled content.
Reduced accessibility for users relying on screen readers.
Proposed Solution:
Ensure that the aria-controls attribute references a valid DOM element. If no such element exists, remove the attribute or adjust the widget’s design accordingly.
Description:
The widget provides many improvements regarding accessibility but does not use the ARIA aria-controls attribute correctly.
Problem:
The aria-controls attribute does not reference a valid target in the DOM structure. As a result, users of assistive technologies (e.g., screen readers) cannot identify which element is being controlled. This reduces usability and violates WCAG guidelines.
Expected Behavior:
The aria-controls attribute should reference the id of an existing and relevant DOM element that is being controlled by the interaction.
Steps to Reproduce:
https://codepen.io/jamaikai/pen/VYZypLd
Open the widget.
Inspect the element containing the aria-controls attribute.
Check whether the value of the aria-controls attribute matches the id of an existing DOM element.
Note that the target element is missing or does not exist.
Impact:
Assistive technologies cannot identify the relationship between the controls and the controlled content.
Reduced accessibility for users relying on screen readers.
Proposed Solution:
Ensure that the aria-controls attribute references a valid DOM element. If no such element exists, remove the attribute or adjust the widget’s design accordingly.
Additional Information:
Link to the ARIA specifications for aria-controls
Screenshot or code snippet illustrating the issue (if applicable).
The text was updated successfully, but these errors were encountered: