Skip to main content
Version: v6

Cookie or GDPR modal does not receive focus on page load

Cookie or GDPR modal does not receive focus on page load — rule summary
FieldValue
Rule codeManual_CookieFocus_Missing
WCAG conformance levelA
WCAG success criterion1.3.1 Info and Relationships
Must be fixed at sourceNo

Description

A cookie consent or GDPR modal was detected but did not automatically receive focus when the page loaded. This can cause accessibility issues, as users relying on keyboards or assistive technologies may miss the modal entirely, making it difficult for them to interact with consent options. The modal should receive focus on load to ensure it is accessible to all users.

How to fix

Ensure the modal receives focus on page load by calling focus to it when the modal is displayed.