Accessibility issues
-
Hi,
I just installed the “Complianz Cookie Consent” plugin – so far the best I’ve tested. Unfortunately, I noticed some accessibilty issues in the cookie banner. Since you claim that your plugin complies with WCAG 2.1, I can imagine that you will want to fix them:
- The x button to close the cookie banner has no visual focus indicator –?also, if possible a
<button>
element would be better for usability than a<div role="button">
. - Focus should be trapped inside the modal window, so that users don’t tab outside of it while it is still visible. That means that after the last interactive element of the window (the ‘settings’ button or the document links), the focus should go back to the close button
- In the “Cookie settings” window, the checkboxes
#cmplz-statistics-optin
and#cmplz-marketing-optin
have no accessible name. They do have an explicit<label>
, but the<span>
inside hasdisplay:none
which hides it also for screen readers. You need to use an accessible hiding method on the.screen-reader-text
class instead ofdisplay:none
. I would recommend this method: https://www.scottohara.me/blog/2017/04/14/inclusively-hidden.html#hiding-content-visually - The same labels have a
tabindex="0"
, which makes them focusable. When I tab through the window, it creates a “blank” tab after the<input>
. - In the same window, the
<summary>
elements have no visual focus indicator. - Interactive controls must not be nested, so
<input type="checkbox">
should not be located inside<summary>
. That create issues for screen reader users who might not be able to access the checkbox.
Let me know if you need more details ! I really hope that you will fix these issues in a future release ??
The page I need help with: [log in to see the link]
- The x button to close the cookie banner has no visual focus indicator –?also, if possible a
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Accessibility issues’ is closed to new replies.