Consent & Declaration
Patterns for lawful, transparent consent and self-declaration in government services - informed consent under the DPDP Act, purpose-limited data sharing, easy withdrawal, and pre-submission declarations.
Consent Capture
Informed, granular consent captured under the DPDP Act - with a plain-language purpose statement, opt-in per use, an easy decline path, and a timestamped consent log.

Default·Step 1 of 3
Data Sharing Consent
Purpose-limited consent for sharing citizen data with another department or agency - stating what, why, who, and for how long, with the ability to manage, withdraw, and review the sharing history.

Disclosure·Step 1 of 4
Declaration Before Submission
A self-declaration gate before final submission where the citizen reviews the declaration, confirms the accuracy of their information, and accepts responsibility before the submit action is enabled.

Declaration·Step 1 of 3
Pattern Overview
Purpose
Let citizens give informed, revocable consent and make honest declarations - with transparency about how their data is used and full control over their permissions.
- Capture informed consent in plain language
- State purpose, recipients, and retention before sharing data
- Make withdrawal as easy as giving consent
- Gate submission behind a clear self-declaration
When to Use
- Personal data is collected or processed under the DPDP Act
- Data must be shared with another department or agency
- A citizen must attest to the accuracy of their information
- Users need to review, manage, or withdraw prior consent
When NOT to Use
- No personal data is collected (no lawful basis needed)
- Consent bundled to force acceptance (dark pattern)
- Static terms display with no action (use a content page)
Primary User Goals
- Understand exactly what I'm agreeing to
- Choose per-purpose, not all-or-nothing
- See who my data is shared with and why
- Withdraw my consent whenever I want
- Confirm my declaration before I submit
Accessibility Requirements
Every screen in this group is built to meet WCAG 2.1 Level AA — keyboard operable, screen-reader friendly, and resilient for low-bandwidth and assistive-tech users.
Consent Controls
- Each consent is a real checkbox with a visible, associated <label>
- Required consents marked with * and aria-required="true"
- Consent is never pre-ticked - the citizen must actively opt in
- Grouped consents use <fieldset> and <legend> for context
Plain Language and Disclosure
- Purpose, recipients, and retention stated in plain language
- Full text reachable and readable without loss of meaning at 200% zoom
- Disclosure structured with headings and landmarks for screen readers
- No jargon-only wording; legal terms are explained inline
Withdrawal and Management
- Withdraw controls are keyboard-operable and clearly labelled
- Impact of withdrawal announced via aria-live="polite"
- Confirmation dialogs are focus-trapped with Escape to cancel
- Consent status conveyed by text, not color or icon alone
Declaration and Submission
- Submit stays disabled until the declaration checkbox is checked
- Disabled state announced so the reason for blocking is clear
- Focus moves to the declaration on scroll-to-review completion
- Declaration acceptance is confirmed by text, not color alone
