WAVE WCAG code problems of cookie banner functions
-
Hi!
I have some problems regarding the accessibility evaluation of my site. It throws an error on all the buttons of the cookie banner, as empty links. I guess it’s because of the “href=#” tag.Problematic code:
<div class="cc-compliance cc-highlight"> <a href="#" role="button" class="cc-btn cc-accept-all cc-btn-no-href">Accept</a> </div>
I also get “Empty form label” on checkboxes the cookie preferences.
Problematic code:
<label for="cmplz_functional"> <input id="cmplz_functional" style="color:#191e23" tabindex="0" data-category="cmplz_functional" class="cmplz-consent-checkbox cmplz-classic cmplz-classic-checkbox cmplz_functional" checked="" disabled="" type="checkbox"> </label>
Is there anything I can do to fix those problems? Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘WAVE WCAG code problems of cookie banner functions’ is closed to new replies.