From fb92b357e89e0b44e0ceb34691cdb29deb2b9256 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Smoli=C5=84ski?= Date: Tue, 1 Dec 2026 10:50:03 +0100 Subject: [PATCH] Consent-check skill: the cookie button step after the first-paint step Co-Authored-By: Claude Fable 5.2 --- docs/agent/skills/iapl-consent-check/SKILL.md | 12 ++++++------ reference/.agents/skills/iapl-consent-check/SKILL.md | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/agent/skills/iapl-consent-check/SKILL.md b/docs/agent/skills/iapl-consent-check/SKILL.md index 7e87549..b7d462c 100644 --- a/docs/agent/skills/iapl-consent-check/SKILL.md +++ b/docs/agent/skills/iapl-consent-check/SKILL.md @@ -44,12 +44,6 @@ before analytics or marketing consent — check the project's choice in "Project 5. Banner not found (`data-ipal="banner"`) → `` is not rendered, or an older IAPL version without `data-ipal` attributes on the buttons → **iapl-upgrade**. -7. Cookie button (1.17.2, consent.md → "Where the cookie button sits"): after a decision, on a long page, a short - page and a page with a form, desktop and phone width — the button is in the bottom corner of the window at the - top, in the middle and with the footer in view (it must not ride up on the footer); scrolled to the very end it - lies on no link or button (it may step up a little); Tab reaches it and Enter reopens the banner. A footer whose - corner is all links: `side="right"` or a larger `--ipal-cookie-button-offset`. A project scroll handler or a - button rendered inside the footer → remove (AGENT.md §7). 6. Banner at first paint (1.17.0, consent.md → "First paint"): the banner is in the server HTML and an inline script shows or hides it before the browser paints; pages stay static. ```bash @@ -61,6 +55,12 @@ before analytics or marketing consent — check the project's choice in "Project `nonce` to ``. A visitor who decided must never see the banner on reload; one whose decision is from an older Policy version must see it at once. A click on a button before hydration counts (the checks above click as soon as the button is visible). +7. Cookie button (1.17.2, consent.md → "Where the cookie button sits"): after a decision, on a long page, a short + page and a page with a form, desktop and phone width — the button is in the bottom corner of the window at the + top, in the middle and with the footer in view (it must not ride up on the footer); scrolled to the very end it + lies on no link or button (it may step up a little); Tab reaches it and Enter reopens the banner. A footer whose + corner is all links: `side="right"` or a larger `--ipal-cookie-button-offset`. A project scroll handler or a + button rendered inside the footer → remove (AGENT.md §7). The script needs buttons with `data-ipal="accept"` / `"reject"` — the plugin's `CookieBanner` has them in every `settings` mode (`inline`, `modal`, `detailed`). A custom banner in the project violates AGENT.md §7. diff --git a/reference/.agents/skills/iapl-consent-check/SKILL.md b/reference/.agents/skills/iapl-consent-check/SKILL.md index 7e87549..b7d462c 100644 --- a/reference/.agents/skills/iapl-consent-check/SKILL.md +++ b/reference/.agents/skills/iapl-consent-check/SKILL.md @@ -44,12 +44,6 @@ before analytics or marketing consent — check the project's choice in "Project 5. Banner not found (`data-ipal="banner"`) → `` is not rendered, or an older IAPL version without `data-ipal` attributes on the buttons → **iapl-upgrade**. -7. Cookie button (1.17.2, consent.md → "Where the cookie button sits"): after a decision, on a long page, a short - page and a page with a form, desktop and phone width — the button is in the bottom corner of the window at the - top, in the middle and with the footer in view (it must not ride up on the footer); scrolled to the very end it - lies on no link or button (it may step up a little); Tab reaches it and Enter reopens the banner. A footer whose - corner is all links: `side="right"` or a larger `--ipal-cookie-button-offset`. A project scroll handler or a - button rendered inside the footer → remove (AGENT.md §7). 6. Banner at first paint (1.17.0, consent.md → "First paint"): the banner is in the server HTML and an inline script shows or hides it before the browser paints; pages stay static. ```bash @@ -61,6 +55,12 @@ before analytics or marketing consent — check the project's choice in "Project `nonce` to ``. A visitor who decided must never see the banner on reload; one whose decision is from an older Policy version must see it at once. A click on a button before hydration counts (the checks above click as soon as the button is visible). +7. Cookie button (1.17.2, consent.md → "Where the cookie button sits"): after a decision, on a long page, a short + page and a page with a form, desktop and phone width — the button is in the bottom corner of the window at the + top, in the middle and with the footer in view (it must not ride up on the footer); scrolled to the very end it + lies on no link or button (it may step up a little); Tab reaches it and Enter reopens the banner. A footer whose + corner is all links: `side="right"` or a larger `--ipal-cookie-button-offset`. A project scroll handler or a + button rendered inside the footer → remove (AGENT.md §7). The script needs buttons with `data-ipal="accept"` / `"reject"` — the plugin's `CookieBanner` has them in every `settings` mode (`inline`, `modal`, `detailed`). A custom banner in the project violates AGENT.md §7.