Bring six exact figures to your renewal portal review: two contrast ratios, one allowlist count, and three statements of CSP scope from public guidance. Each figure pairs with one test you can run before the meeting.
Key takeaways
- Test every button against its background at a 4.5:1 contrast ratio or higher.
- Test confirmation panels and focus states at 3:1 or higher.
- Count the allowlist and ask what each domain is for. One Google Analytics integration asks a developer to add 187 domains.
- Confirm the CSP blocks rather than only reports, and that form submission targets are restricted.
- Treat CSP as a second layer of protection against XSS, not the only one.
Why renewal reviews fail on figures
You are preparing a renewal review of a customer-facing portal. The review covers security and accessibility. The hardest part is not finding problems. It is quoting the right figure so your findings carry weight.
Vague findings get pushed aside. A figure with a source gets a fix. This post gives you six figures you can quote directly in your review. Each one comes from public guidance on this exact topic.
You will use these figures to test contrast on buttons and panels, to judge whether a Content Security Policy is real or decorative, and to size the allowlist you are being asked to approve.
What a portal renewal review actually checks
A customer portal is where customers log in, view data, and act. That makes it a security target and an accessibility concern. Your review should test both.
On the accessibility side, you look at contrast, focus, and color. On the security side, you look at headers, form targets, and how strictly content is filtered. Both sides produce figures you can quote.
The review is not a full audit. It is a focused pass over the screens a customer touches at renewal. You want findings that the engineering team can act on in one sprint.
Figure one: the button contrast floor
Your first figure is a contrast ratio. Buttons on a portal must be readable against their background. The rule is not "looks fine to me."
The guidance is explicit: "Make sure all users can see the button – the white button and background colour must have a contrast ratio of at least 4.5:1 to meet WCAG 2.2 success criterion 1.4.3 Contrast (minimum), level AA."
That is the figure you quote. It comes from the GOV.UK Design System button component page at ( GOV.UK Design System).
In your review, test every button a customer can click. Renew, cancel, save, download. Measure each one against its background. Flag anything under the ratio.
This matters at renewal because a button a customer cannot see is a button a customer will not press. Low contrast on a renewal CTA is a direct revenue risk.
Figure two: the panel contrast floor
Your second figure is a different floor. Confirmation panels and focus states use a different minimum. Do not apply the button number to panels.
The guidance says: "You’ll need to make changes to the panel or focus state style to make them accessible and meet a minimum contrast ratio of 3:1."
This is also from the GOV.UK Design System, on the confirmation pages pattern at ( GOV.UK Design System).
The distinction matters. A button needs 4.5:1. A panel or focus indicator needs 3:1. Both appear on a portal confirmation screen after a customer submits a renewal action.
In your review, check the confirmation panel a customer lands on after payment or plan change. Check the focus ring on every form field. Quote the 3:1 figure for those. For focus-state styling rules, see Form control contrast: 3 rules for cues and focus.
Here is how the two contrast figures compare side by side:
| Element | Minimum contrast ratio | Success criterion or reference |
|---|---|---|
| Button against its background | 4.5:1 | WCAG 2.2 success criterion 1.4.3 Contrast (minimum), level AA |
| Confirmation panel or focus state | 3:1 | GOV.UK Design System confirmation pages pattern |
Figure three: the Google Analytics allowlist size
Your third figure is a security number, and it will get attention in the room. When a portal wants Google Analytics, a developer must widen the allowlist.
The figure is stark: "According to How I learned to stop worrying and love the Content Security Policy, just to integrate Google Analytics, a developer is asked to add 187 Google domains to the allowlist."
That comes from the Mozilla Content Security Policy guide on MDN at ( MDN).
One analytics integration. One hundred and eighty-seven domains. That is the scope creep a Content Security Policy absorbs before anyone writes a line of custom code.
In your review, ask for the current allowlist. Count the domains. Ask which ones are load-bearing for portal function and which arrived for a tag manager convenience.
This figure is your argument against blanket allowlists. If a single analytics product needs that many entries, the list needs review every time it grows.
Figure four: CSP as a threat control
Your fourth figure is not a ratio. It is a capability. A Content Security Policy does several jobs at once.
The MDN guide defines it plainly: "Content Security Policy (CSP) is a feature that helps to prevent or minimize the risk of certain types of security threats."
The same guide adds: "A CSP can have other purposes as well, including defending against clickjacking and helping to ensure that a site's pages will be loaded over HTTPS."
Those two statements give you the scope of the control. For a portal review, clickjacking defense and HTTPS enforcement are both in scope. Customers enter credentials on your pages.
The MDN guide also points to practical guidance for tightening the policy, referencing "Mitigate cross-site scripting with a strict Content Security Policy on web.dev (2024)". Use that as the starting point for proposing a stricter directive list in your review.
In your review, confirm the header is present, confirm which directives are enforced, and confirm whether it is blocking or only reporting. A policy that reports only is a policy that does not block. For how HTTPS claims are worded, see HSTS in customer reviews: 3 facts to state accurately.
Figure five: form submission restrictions
Your fifth figure is about where portal forms can send data. On a renewal portal, forms carry sensitive fields.
The OWASP cheat sheet at ( OWASP Cheat Sheet Series) states: "By restricting where HTML forms on your website can submit their data, injecting phishing forms won't work either."
That is the mechanism you are testing: restricting where HTML forms can submit data stops injected phishing forms from working. If it is absent or loose, an injected form can post somewhere it should not.
For your review, ask which form submission destinations are permitted. On a portal, that list should be short. Payment flows, account save endpoints, and support submission.
Also ask whether report-only mode is in play. OWASP notes browsers support CSP with the policy non-blocking ("fail open") and a report sent to the URL designated by the report-uri (or newer report-to) directive, specifically "Supported by Firefox 23+, Chrome 25+ and Opera 19+".
A report-only policy gives you data without enforcement. That is a valid staging step. It is not a finished control. Name which mode the portal is running. For the levels to name in a review, see 2 Content Security Policy levels to name in a review.
Figure six: the second layer of defense
Your sixth figure is the strategic one. It tells your stakeholders why CSP matters beyond one directive.
OWASP frames it as: "A strong CSP provides an effective second layer of protection against various types of vulnerabilities, especially XSS."
Second layer is the phrase to carry into the review.
For a portal with login, session handling, and customer data, XSS is the threat class you cannot afford to leave to a single control.
OWASP also notes older implementations: "Their implementations are obsolete (since Firefox 23, Chrome 25), limited, inconsistent, and incredibly buggy."
That line matters when your customer base spans browsers. Modern browsers enforce CSP properly. Very old ones do not. Confirm what your portal traffic actually runs before you claim coverage.
How to use the six figures in the review
Bring all six as a single checklist slide.
- Measure every button against its background at 4.5:1.
- Measure confirmation panels and focus states at 3:1.
- Count the current allowlist and ask what each domain is for.
- Confirm the CSP header exists and is blocking, not just reporting.
- Confirm form submission destinations are constrained to portal endpoints.
- Confirm the policy is treated as a second layer, not the only layer.
Run the tests, write down the results, and attach the source link beside each figure. Numbers without links lose arguments.
Illustrative example: one renewal screen
Suppose a renewal screen has 40 buttons and 5 of them fall below 4.5:1 against their background. The review note names those 5 buttons, gives each measured ratio, and states the fix for each. The other buttons need no finding.
What to do when a figure does not match
You will find gaps. A button below the ratio. An allowlist with no owner. A policy in report-only mode with no plan to enforce.
Do not soften the finding. State the figure, state the test result, and state the fix. Your reader needs one clear line for each issue.
If a figure in your review cannot be matched to published guidance, drop it. Do not estimate a ratio you did not measure. Do not quote a threshold that no source backs.
Agree a portal-wide pass or fail threshold with your security lead, in writing, before the meeting.
Sample findings written the way they land
Here are four findings phrased for a renewal review note.
Renew button contrast: Measured below 4.5:1 against the header background. Fix the background or the text color before renewal season.
Confirmation panel: Focus ring on the renewal form does not meet 3:1. Restyle the focus state as the design system pattern requires.
Allowlist scope: Current policy allowlist includes a large set of domains from analytics alone. Request an owner and justification for each entry.
Policy mode: CSP is running in report-only. No blocking enforcement is active. Propose a blocking rollout with a staged directive list.
Each line names the test and the fix. That is how a review moves.
FAQ
Which figure do I start with if I only have one meeting? Start with the button contrast floor. It is the easiest to test, the hardest to argue with, and it touches every renewal screen a customer sees.
Does the panel figure apply to alerts and toasts too? The guidance covers confirmation panels and focus states directly. For alerts and toasts, ask your accessibility lead to confirm scope for your portal design system.
Where does the 187-domain figure come from? It comes from the MDN guide's example of adding 187 Google domains to the allowlist for one Google Analytics integration. Ask your team which of those domains the portal actually uses, and request an owner for each entry.
Is report-only mode acceptable at renewal? It is acceptable as a staging step while you collect reports. It is not blocking anything. Treat it as a finding, not a pass.
Where does clickjacking fit in a portal review? Clickjacking defense is one of the CSP's stated purposes. Check that the policy's clickjacking defense is present, and confirm the mechanism with your engineering team, since your portal frames are a credential surface.
Closing checklist for your review note
Before you send the note, confirm you have these six figures with their links: 4.5:1 on buttons; 3:1 on panels and focus; 187 domains for one analytics integration; CSP as a threat control, and restricted form submission targets; and CSP as a second layer against XSS and related flaws.
Confirm each figure is paired with a test result from your portal, not a general worry. Confirm your fixes are named in one line each.
If you can do that, your renewal review will not need a second pass. The figures carry it. Next step today: pull the current allowlist and count its domains.
Sources
Limits of this post
This post is general operational information, not legal advice about notice periods or renewal clauses. It does not promise that any method keeps a customer. Software can get a fact wrong, so open the sources before you act.