Use the build in Cookie information iframe placeholder functionality

Created on 4 April 2024, 9 months ago
Updated 22 April 2024, 8 months ago

Problem/Motivation

Currently we have build in logic that hides the placeholder for iframes before they are loaded. This is unneeded because Cookie information already has similar logic in their own tool. This is documented in https://support.cookieinformation.com/en/articles/4418529-provide-placeh....

Proposed resolution

We should get rid of the duplicate code that hide the placeholder and rely on the logic provided by Cookie information. In the Cookie information documentation the example has the onClick event in the div element. This is not the optimal solution from accessibility point of view and we should keep the button element as the element with the onClick event.

Remaining tasks

Remove the JS code that hides the placeholder.

User interface changes

None.

API changes

None.

Data model changes

None.

📌 Task
Status

Fixed

Version

2.1

Component

Code

Created by

🇫🇮Finland heikkiy Oulu

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024