Files
clawfort/openspec/specs/footer-policy-links/spec.md
Santhosh Janardhanan 679561bcdb
Some checks failed
quality-gates / lint-and-test (push) Has been cancelled
quality-gates / security-scan (push) Has been cancelled
First deployment
2026-02-13 09:14:04 -05:00

1.5 KiB

Purpose

Canonical specification for footer-policy-links requirements synced from OpenSpec change deltas.

Requirements

The system SHALL display footer controls for Terms of Use and Attribution on the landing page and open their disclosure content in in-page modal dialogs while preserving compact sticky-footer behavior.

  • WHEN a user loads the main page
  • THEN the footer includes controls labeled "Terms of Use" and "Attribution"
  • AND controls are visually distinguishable and keyboard focusable
  • WHEN a user activates either policy control
  • THEN the system opens the corresponding policy modal
  • AND activation succeeds without full-page navigation dependency
  • WHEN user scrolls through content
  • THEN footer remains sticky at viewport bottom
  • AND footer height stays compact enough to avoid readability obstruction

Scenario: Floating back-to-top island

  • WHEN page is scrolled beyond initial viewport
  • THEN a floating back-to-top control is visible
  • AND activating it returns viewport to top smoothly
  • WHEN GitHub repository URL and/or contact email are configured
  • THEN footer renders corresponding links without replacing policy controls
  • AND absent values do not break footer layout