How can I remove the cookie banner in the Eye-Able® Report Scan?
Exclude Cookie Banners During Automated Scans
If you'd like to exclude the cookie banner during automated scans with the Eye-Able® Report, this can be configured directly in the dashboard settings.
Create a Page Action in the Dashboard
Go to the "Report Settings" section in the dashboard and click “Add New Action” under “Page Actions.”
What Are Page Actions?
Page actions allow specific steps to be executed automatically before or after a scan – such as logging in to a page or closing a cookie banner. These actions consist of several customizable steps.
Targeted Cookie Banner Removal
To specifically exclude the cookie banner, it's recommended to create a page action that removes the banner on all pages except the homepage.
Important: The cookie banner must still be checked for accessibility at least once, for example, on the homepage.
Set Target Page and Action Timing
-
As the target page, enter a regular expression that includes your domain.
-
Set the timing of the action to “after the scan.”
This ensures the banner is removed from all other pages but is still included in the homepage check.
Define the Action
In the “Steps for this action” section:
-
Choose a “Click” action
-
Define the correct CSS selector for the close button of the cookie banner – e.g.,
#CookieBannerAlleZulassen
Note: Depending on how the banner is built, it may be necessary to add a short delay before the click so the button loads correctly.
Finally, click “Save Settings” to activate the action.
Easier Method: Use the Click Action Recorder
Alternatively, you can use the Click Action Recorder from Eye-Able® to create the action.
With this tool, you can record in your browser which elements should be clicked – no manual CSS selector input needed.
You’ll find a detailed guide for using the Action Recorder in this PDF document.
Related Articles:
-
How can I create page actions in the report to test dynamic content like application flows or logins?