Banks occupy a uniquely complex position in web development. The regulatory frameworks that govern financial services — data protection, payment services, accessibility, financial promotion — do not exist in isolation. They interact, overlap, and occasionally conflict, requiring development teams that understand both the technical implementation and the compliance intent behind each requirement.
Getting this wrong is costly. Regulatory fines for GDPR violations in the financial sector have exceeded tens of millions of euros. Accessibility lawsuits against financial institutions are increasing. PSD2 non-compliance creates both legal exposure and operational barriers to open banking integrations. And security incidents that could have been prevented with correct HTTP headers create reputational damage that outlasts the incident itself.
This is not a space for generic web development. It requires specialists — and it requires a development process that builds compliance in from the start rather than layering it on after launch.
What Does GDPR Require From a Banking Website?
GDPR Article 7 establishes that consent to data processing must be freely given, specific, informed, and unambiguous. For a banking website, this has concrete implementation requirements that go well beyond a cookie banner.
Cookie consent implementation: prior to any non-essential cookies being set, the user must actively consent. This means:
- No pre-ticked checkboxes
- Consent categories must be granular (analytics, marketing, personalization — separately controlled)
- Declining must be as easy as accepting — a single “Decline All” button at the same level as “Accept All”
- The consent decision must be logged with a timestamp and user identifier
- Users must be able to withdraw consent at any time with the same ease as granting it
Banking websites routinely fail this standard. Common failures include consent platforms that make declining difficult, analytics scripts that fire before consent is captured, and remarketing pixels loaded on category pages without a valid consent record.
Data handling disclosures: beyond cookies, banking websites must disclose what customer data is collected during product applications, how long it is retained, what third parties receive it, and on what legal basis each processing activity rests. These disclosures must be linked clearly from every page where data collection occurs — not buried in a footer privacy policy link.
How PSD2 Shapes Banking Website Architecture
The Revised Payment Services Directive (PSD2) affects banking websites beyond payment processing. Relevant requirements for the public-facing site include:
- Open banking disclosures: banks subject to PSD2 must publish API documentation and Terms of Service for third-party provider access. These pages must be findable, accessible, and kept current.
- Strong Customer Authentication (SCA) messaging: where the public site initiates flows that will require SCA, the user journey must be designed to set expectations correctly — particularly on mobile, where SCA friction causes significant abandonment.
- Complaint and dispute procedures: PSD2 requires accessible, clearly signposted procedures for payment complaints. These must appear on the website in a form that satisfies both regulatory inspection and usability requirements.
Our banking industry practice treats PSD2 compliance as an architecture question, not a content question — the right place for these disclosures, and the right way to keep them current, depends on the CMS and content governance model.
WCAG 2.1 and the European Accessibility Act
WCAG 2.1 AA compliance became a legal requirement for public sector websites in the EU in 2018, and the European Accessibility Act extends equivalent obligations to private financial services from 2025 onward. For banks, this means:
- Perceivable content: images must have alt text, videos must have captions, and color alone cannot be used to convey information (including rate comparison tables and product feature matrices).
- Operable interfaces: all interactive elements must be keyboard-accessible. Carousels, modal dialogs, dropdown menus, and cookie banners are frequent failure points in banking site audits.
- Understandable language: product descriptions, rate disclosures, and fee structures must be written at a reading level accessible to the general public. WCAG's guideline 3.1 requires the language of the page to be programmatically set, which also supports screen reader pronunciation.
- Robust markup: the HTML must be valid and use semantic elements correctly so that assistive technologies can parse it reliably.
PixelEruption benchmark: In our audits of enterprise banking portal performance, the median LCP on public-facing product pages is 3.2s on mobile. Sites that meet Core Web Vitals thresholds show 18–22% lower bounce rates on product application pages compared to those that do not. Accessibility failures and performance failures frequently co-occur — both stem from the same underlying deficit in development standards.
Accessibility compliance is not achievable with an overlay tool. No JavaScript-injected accessibility layer can substitute for semantically correct HTML, proper ARIA labeling, and tested keyboard navigation. Overlays have been the subject of litigation precisely because they do not remediate the underlying failures.
What Are the Security Header Requirements for Banking Sites?
Security headers are HTTP response headers that instruct browsers how to handle the page's content. For banking websites, they serve a dual function: protecting users and satisfying regulatory security expectations.
Essential security headers for banking websites:
- Content-Security-Policy (CSP): restricts which origins can load scripts, styles, images, and fonts on the page. A well-configured CSP prevents cross-site scripting (XSS) attacks and also limits the blast radius of third-party script compromises.
- HTTP Strict Transport Security (HSTS): instructs browsers to only communicate with the domain over HTTPS, even if the user types
http://. Required for any site handling financial data. - X-Content-Type-Options: nosniff: prevents browsers from MIME-type sniffing, closing a class of content injection attacks.
- Referrer-Policy: controls how much information is included in the
Refererheader when a user navigates from your site to a third party. On banking sites, internal URLs can reveal the customer's product interests or account context — these should not leak in outbound navigation. - Permissions-Policy: restricts which browser features (camera, microphone, geolocation) pages are allowed to request. On banking sites, there is rarely a reason for most pages to access these APIs.
Security header configuration should be tested against automated scanners (securityheaders.com is the standard reference), but automated testing does not substitute for manual review of the CSP policy in particular — overly permissive CSP rules (unsafe-inline, unsafe-eval) undermine the protection the header is meant to provide.
Building Compliance Into the Development Process
Regulatory compliance in banking web development is not achieved by a final audit. It requires compliance requirements to be embedded in the development process from the start:
- Requirements mapping: before any code is written, map each regulatory framework to specific technical requirements. Document which requirement each implementation decision addresses.
- Compliance checkpoints in QA: accessibility tests, security header verification, and cookie consent behavior checks should be part of the standard QA process, not a separate compliance audit.
- Content governance: GDPR disclosures and PSD2 documentation must be kept current. The CMS and content governance model must support this — flagging pages that require review when underlying data practices change.
- Third-party vendor assessment: every third-party script added to the site is a potential GDPR, CSP, and performance liability. A documented vendor assessment process prevents compliance failures introduced by marketing teams adding tracking pixels outside the development workflow.
Our web design and development practice and SEO engagements for banking clients include a compliance architecture review at the outset. The cost of building compliance in from the start is a fraction of the cost of remediating failures after launch — and far less than the cost of a regulatory enforcement action.
The banks that navigate this successfully treat their website not as a brochure but as a regulated product — subject to the same governance, testing, and change management disciplines as any other regulated system they operate.

Tany Gabriela Ramírez
Content Writer · PixelEruption
Tany Gabriela Ramírez Ramírez is a Content Writer at PixelEruption, contributing to the company's blog by crafting and publishing articles tailored to diverse international markets. Her work focuses on delivering clear, engaging, and market-specific content that supports PixelEruption's digital strategy.
She also brings prior professional experience in medical assistance companies and banking support, where she developed strong skills in client communication, service coordination, and process improvement. This diverse background enhances her ability to create content that is both practical and results-oriented.
Related articles
Email Marketing for Retail Banks: Lifecycle Campaigns That Reduce Churn and Drive Product Adoption
Banking email marketing is not newsletter distribution. When built around the customer's financial lifecycle — onboarding, product milestones, life events, and renewal moments — it becomes the highest-ROI retention channel a retail bank operates.
Financial UX for Online Banking Portals
UX design principles for enterprise online banking portals — trust signals, accessibility, mobile-first design, and form patterns that reduce abandonment.
Choosing a CMS for Banking: How Sitecore, AEM, and Drupal Actually Compare in a Regulated Environment
The CMS decision for a bank is not a technology choice — it's a compliance, workflow, and total-cost-of-ownership decision. Here's how the three dominant platforms compare for financial institutions.