Accessibility Compliance – Move consent banner above page content in the DOM.
-
In our accessibility compliance review, the GDPR Cookie Consent Banner was flagged because…
This cookie banner is featured prominently for visual users, but not for keyboard and screen reader users.
The suggested resolution is to “move the element containing the cookie consent banner to the top of the DOM, preferably directly after the ‘”‘skip to main content'”‘ link”. Regardless of the position settings, the banner remains after the page content in the DOM.
Is there any way I can choose where to insert the banner in my code so it will be above the page content in the DOM?
Thanks.
- The topic ‘Accessibility Compliance – Move consent banner above page content in the DOM.’ is closed to new replies.