# BeaverCheck Audit Report — https://www.gov.scot

**Date:** April 22, 2026  
**URL:** https://www.gov.scot  
**Overall Grade:** B (87/100)  
**Report:** https://beavercheck.com/results/65400e6d-034b-441e-9802-255010790bc2

## Top Findings

1. **[WARNING]** Cross-Origin-Embedder-Policy header is missing — Security > Security Headers
2. **[WARNING]** Cross-Origin-Opener-Policy header is missing — Security > Security Headers
3. **[WARNING]** External link from fonts.googleapis.com lacks integrity attribute — Security > Subresource Integrity
4. **[WARNING]** External link from maxcdn.bootstrapcdn.com lacks integrity attribute — Security > Subresource Integrity
5. **[WARNING]** No DMARC record found — Security > Email Security

---

## Lighthouse Scores

| Category | Score |
|----------|-------|
| Performance | 75 |
| Accessibility | 95 |
| Best Practices | 100 |
| SEO | 100 |

---

## Security

### Security Headers (B — 80/100)

*7 of 10 headers properly configured*

- **[PASS]** Strict-Transport-Security is properly configured
- **[PASS]** X-Content-Type-Options is properly configured
- **[PASS]** X-Frame-Options is properly configured
- **[WARNING]** Referrer-Policy has a weak value
- **[PASS]** Permissions-Policy is set
- **[PASS]** Content-Security-Policy is present
- **[WARNING]** Cross-Origin-Opener-Policy header is missing — COOP isolates your browsing context, preventing cross-origin side-channel attacks. Set to 'same-origin'.
- **[WARNING]** Cross-Origin-Embedder-Policy header is missing — COEP prevents loading cross-origin resources without explicit permission. Required for SharedArrayBuffer and high-resolution timers.
- **[PASS]** X-Powered-By header is not present
- **[PASS]** Server header is not present

### Content Security Policy (C — 55/100)

*3 of 10 CSP checks passed*

- **[INFO]** Raw CSP policy
- **[WARNING]** default-src directive is missing — default-src provides a fallback for other directives. Set it to restrict default resource loading.
- **[PASS]** No 'unsafe-inline' in script source
- **[PASS]** No 'unsafe-eval' in script source
- **[PASS]** No wildcard in script source
- **[WARNING]** object-src allows plugin content — Set object-src to 'none' to prevent Flash/Java plugin exploits.
- **[WARNING]** base-uri directive is missing — Without base-uri, attackers can inject a <base> tag to hijack relative URLs. Set it to 'self' or 'none'.
- **[WARNING]** frame-ancestors directive is missing — frame-ancestors controls who can embed your page, preventing clickjacking. Set it to 'self' or 'none'.
- **[WARNING]** form-action directive is missing — form-action restricts where forms can submit data, preventing form hijacking.
- **[INFO]** upgrade-insecure-requests is not set — This directive upgrades HTTP resources to HTTPS automatically, preventing mixed content.

### TLS & Certificates (A+ — 100/100)

*TLS 1.3, 7 checks passed*

- **[PASS]** TLS 1.3 is used
- **[PASS]** Strong cipher suite is used
- **[INFO]** HTTP/2 is not negotiated — HTTP/2 provides multiplexing and header compression for better performance.
- **[PASS]** Certificate is valid (expires in 118 days)
- **[PASS]** Certificate chain has 3 certificates
- **[PASS]** Certificate uses modern signature algorithm
- **[PASS]** Certificate covers 1 domain(s)
- **[PASS]** Certificate is issued by a trusted CA

### Cookie Security (A+ — 100/100)

*No cookies set — no cookie security risks*

- **[PASS]** No cookies set — no cookie security risks

---

## Advanced Security

### Subresource Integrity (F — 20/100)

*0 of 2 external resources have SRI*

- **[WARNING]** External link from maxcdn.bootstrapcdn.com lacks integrity attribute — Without SRI, if this CDN is compromised, attackers could inject malicious code.
- **[WARNING]** External link from fonts.googleapis.com lacks integrity attribute — Without SRI, if this CDN is compromised, attackers could inject malicious code.

### JS Library Vulnerabilities (A+ — 100/100)

*No known vulnerabilities*

- **[PASS]** No known JavaScript library vulnerabilities detected

### Information Leakage (A+ — 100/100)

*No exposures*

- **[PASS]** security.txt is present — good practice
- **[PASS]** No sensitive files exposed

### Email Security (F — 30/100)

*No DMARC*

- **[WARNING]** No DMARC record found — Without DMARC, email receivers have no policy for handling authentication failures.

### Permissions-Policy (A+ — 100/100)

*21 directives, 0 missing*

- **[PASS]** accelerometer=() — blocked for all origins
- **[PASS]** autoplay=() — blocked for all origins
- **[PASS]** camera=() — blocked for all origins
- **[PASS]** clipboard-read=() — blocked for all origins
- **[INFO]** clipboard-write=(self)
- **[PASS]** cross-origin-isolated=() — blocked for all origins
- **[PASS]** document-domain=() — blocked for all origins
- **[PASS]** encrypted-media=() — blocked for all origins
- **[PASS]** fullscreen=() — blocked for all origins
- **[PASS]** geolocation=() — blocked for all origins
- **[PASS]** gyroscope=() — blocked for all origins
- **[PASS]** magnetometer=() — blocked for all origins
- **[PASS]** microphone=() — blocked for all origins
- **[PASS]** midi=() — blocked for all origins
- **[PASS]** payment=() — blocked for all origins
- **[PASS]** picture-in-picture=() — blocked for all origins
- **[PASS]** publickey-credentials-get=() — blocked for all origins
- **[PASS]** screen-wake-lock=() — blocked for all origins
- **[PASS]** sync-xhr=() — blocked for all origins
- **[PASS]** usb=() — blocked for all origins
- **[PASS]** xr-spatial-tracking=() — blocked for all origins

### CORS Configuration (B — 80/100)

*No CORS headers*

- **[PASS]** No CORS headers present — secure default

---

## Performance

### Page Weight Budget (A+ — 100/100)

*287 KB transferred, 20 requests*

- **[PASS]** Page weighs 718 KB (287 KB transferred)
- **[PASS]** 20 HTTP requests
- **[INFO]** Estimated 0.06 g CO2 per page load

### Third-Party Impact (A+ — 100/100)

*16% third-party, 0 ms blocking*

- **[INFO]** Third-party code accounts for 16% of page weight (46.0 KiB of 287.5 KiB)
- **[PASS]** Third-party blocking time is low (0 ms)

### Text Compression (A+ — 100/100)

*All text resources are compressed*

- **[PASS]** All text resources are compressed

### Image Optimization (B — 80/100)

*4 images, 0 KB saveable*

- **[PASS]** All images are well-optimized

### JS Execution Cost (B — 80/100)

*571ms total JS execution*

- **[WARNING]** https://www.gov.scot/: 298ms CPU time
- **[INFO]** Unattributable: 183ms CPU time
- **[INFO]** https://www.gov.scot/webfiles/1776248299365/assets...: 90ms CPU time
- **[INFO]** Third-party scripts: 183ms (32% of total)

### Font Loading (A+ — 100/100)

*1 fonts (37 KB)*

- **[INFO]** 1 font(s) use font-display: swap (FOUT risk but functional)

### JS Bundles (A+ — 100/100)

*7 scripts, 23 KB unused*

- **[WARNING]** https://www.gov.scot/webfiles/1776248299365/assets...: 23 KB unused (72%) — Consider code splitting or tree shaking to reduce unused code.
- **[INFO]** Total unused JavaScript: 23 KB

### Resource Caching (A+ — 100/100)

*All resources properly cached*

- **[PASS]** No caching issues found

### Critical Rendering Path (A+ — 100/100)

*No render-blocking resources*

- **[PASS]** No render-blocking resources detected

### Resource Hints (A+ — 100/100)

*No optimization needed*

- **[PASS]** No resource hint issues

### Page Weight Inventory (A+ — 100/100)

*20 resources · 287 KB · 23 KB savings available*

- **[PASS]** Within 1MB page-weight target
- **[INFO]** 4 third-party resources (16% of weight)

### Render-Blocking Resources (A+ — 100/100)

*No render-blocking resources detected*

- **[PASS]** No render-blocking resources detected in <head>

### Third-Party Resources (A+ — 100/100)

*No third-party resources detected*


---

## Content Quality

### Links (A+ — 100/100)

*68 links checked, 68 healthy, 0 broken*

- **[PASS]** 68 of 68 links are healthy

### Mixed Content (A+ — 100/100)

*No mixed content detected — all resources use HTTPS.*

- **[PASS]** No mixed content detected — all resources use HTTPS

### Open Graph (A — 90/100)

*Open Graph tags are well configured for social sharing.*

- **[INFO]** og:title is short (23 characters) — Ideal length is 25–60 characters for social sharing previews.
- **[INFO]** og:description is long (235 characters) — Descriptions over 200 characters may be truncated in social sharing previews.
- **[INFO]** Missing og:site_name — The og:site_name tag displays the website name in social previews.
- **[INFO]** Missing twitter:card — Without twitter:card, Twitter falls back to Open Graph tags. Adding it gives you more control.

### Structured Data (A+ — 100/100)

*1 JSON-LD block(s) found — structured data is well configured.*

- **[INFO]** Missing recommended property "description" for WebSite — Adding "description" can improve how search engines display your content.

---

## Infrastructure

### DNS Records (A+ — 95/100)

*4 A records, 47 ms lookup*

- **[PASS]** Resolves to 4 IPv4 address(es)
- **[PASS]** Has 8 IPv6 (AAAA) record(s)
- **[PASS]** 4 nameserver(s) configured
- **[INFO]** No MX records — email not configured via DNS
- **[INFO]** CAA records not checked — CAA record lookup requires a specialized DNS resolver. This check will be available in a future update.
- **[INFO]** No SPF record found in TXT records — SPF helps prevent email spoofing. Add a TXT record starting with 'v=spf1'.
- **[PASS]** DNS resolution time: 47 ms

### Redirect Chain (A+ — 100/100)

*No redirects — direct access*

- **[PASS]** No redirects — direct access

### IPv6 Readiness (A+ — 100/100)

*IPv6 reachable (1 ms)*

- **[PASS]** IPv6 is configured and reachable at 2600:9000:215b:3000:7:1f1c:d7c0:93a1, 2600:9000:215b:400:7:1f1c:d7c0:93a1, 2600:9000:215b:7000:7:1f1c:d7c0:93a1, 2600:9000:215b:b400:7:1f1c:d7c0:93a1, 2600:9000:215b:2000:7:1f1c:d7c0:93a1, 2600:9000:215b:a200:7:1f1c:d7c0:93a1, 2600:9000:215b:8800:7:1f1c:d7c0:93a1, 2600:9000:215b:5e00:7:1f1c:d7c0:93a1

### Crawlability (A+ — 100/100)

*robots.txt present, sitemap with 120 URLs*

- **[PASS]** robots.txt is present
- **[PASS]** sitemap.xml is present
- **[PASS]** sitemap.xml is valid XML
- **[PASS]** sitemap.xml contains 120 entries
- **[PASS]** Sitemap index with 120 child sitemaps
- **[PASS]** robots.txt references sitemap

### URL Variants (A+ — 100/100)

*www/non-www, trailing slash, HTTP→HTTPS*

- **[PASS]** www/non-www redirect configured correctly (preferred: www)
- **[PASS]** HTTP correctly 301-redirects to HTTPS

### Domain Intelligence

*Domain intelligence data not available*


---

## Compliance

### WCAG Compliance (A+ — 100/100)

*No testable criteria*


### Cookie Consent & Privacy (B — 80/100)

*No consent signals detected*

- **[WARNING]** No privacy policy link detected — A privacy policy page is recommended for transparency and may be legally required.
- **[INFO]** No terms of service link detected
- **[INFO]** No cookie consent banner detected
- **[INFO]** This is an automated check, not legal advice — BeaverCheck detects technical indicators of consent management. This does not constitute a legal compliance assessment. Consult a privacy professional for GDPR/CCPA compliance.

### Language & i18n (A — 90/100)

*Lang attribute present*

- **[PASS]** <html lang> attribute is present
- **[PASS]** <html lang> value is valid
- **[INFO]** No Content-Language HTTP header
- **[INFO]** Language signals are inconsistent — The <html lang> attribute and Content-Language header should agree.

### Readability & Typography (A+ — 100/100)

*Font sizes and tap targets checked*


### Viewport Configuration (A+ — 100/100)

*Viewport properly configured*

- **[PASS]** Viewport meta tag is present
- **[PASS]** width=device-width is set
- **[PASS]** User zooming is allowed

### Third-Party Trackers (C — 55/100)

*2 trackers detected*

- **[INFO]** 2 third-party trackers detected — Found 1 analytics, 0 advertising, 0 marketing, 1 tag manager trackers.
- **[WARNING]** Trackers detected but no cookie policy found — This page loads 2 trackers but no cookie policy was detected. GDPR requires disclosure when using tracking cookies.
- **[WARNING]** Trackers detected but no privacy policy found — Most data protection regulations require a privacy policy when collecting user data via trackers.

### Cookie & Tracker Inventory (A+ — 100/100)

*0 cookies · 2 trackers · 0 pre-consent*

- **[INFO]** 2 third-party tracker(s) detected on page

---

## Legal

### Legal Page Ecosystem (C — 60/100)

*3 of 7 expected legal pages detected*

- **[PASS]** Privacy Policy detected — Found at /privacy/, linked from footer.
- **[WARNING]** Terms of Service not detected — No link matching common Terms of Service URL patterns or link text was found. Most websites are expected to have a Terms of Service, especially those collecting user data.
- **[PASS]** Cookie Policy detected — Found at /cookies/.
- **[PASS]** Accessibility Statement detected — Found at /accessibility/.
- **[INFO]** DMCA / Copyright Notice not detected — No link matching common DMCA / Copyright Notice URL patterns or link text was found. Most websites are expected to have a DMCA / Copyright Notice, especially those collecting user data.
- **[INFO]** Refund / Returns Policy not detected — No link matching common Refund / Returns Policy URL patterns or link text was found. Most websites are expected to have a Refund / Returns Policy, especially those collecting user data.
- **[INFO]** Acceptable Use Policy not detected — No link matching common Acceptable Use Policy URL patterns or link text was found. Most websites are expected to have a Acceptable Use Policy, especially those collecting user data.

### Copyright Notice (C — 55/100)

*No copyright notice detected*

- **[INFO]** No copyright notice detected — No copyright notice detected in the page content. While not legally required in most jurisdictions (copyright exists automatically), a notice is standard practice and signals site ownership.

### Regulatory Indicators

*3 regulatory indicator(s) detected*

- **[INFO]** This is a technical scan, not a legal assessment — BeaverCheck detects technical indicators that may suggest regulatory relevance. This is not a compliance audit and should not be relied upon for legal decisions. Consult qualified legal counsel for compliance assessments.
- **[INFO]** GDPR indicators detected (moderate confidence) — Indicators suggesting GDPR may be relevant: Privacy policy page found. EU General Data Protection Regulation — governs collection and processing of personal data of EU residents.
- **[INFO]** ADA indicators detected (moderate confidence) — Indicators suggesting ADA may be relevant: Accessibility statement page found. Americans with Disabilities Act / Section 508 — requires digital accessibility for people with disabilities.
- **[INFO]** HIPAA indicators detected (weak confidence) — Indicators suggesting HIPAA may be relevant: Text mentions: phi. Health Insurance Portability and Accountability Act — protects sensitive patient health information.

### Third-Party Data Sharing

*0 third-party service(s) detected*

- **[INFO]** Data inventory for transparency purposes — This inventory identifies third-party services that receive data from your site visitors. Under regulations like GDPR (Article 30), maintaining records of data processing activities is commonly considered a best practice. This automated scan provides a starting point — it may not capture all data flows.
- **[INFO]** No recognized third-party data-sharing services detected — This page does not appear to load external tracking, analytics, or advertising scripts.

### Compliance Badges (C — 55/100)

*0 compliance badge(s) detected*

- **[INFO]** No compliance badges detected — No recognized compliance certification badges or seals were found. This is common — many sites do not display compliance badges.

---

## Availability

### CDN & Delivery (A — 85/100)

*AWS CloudFront (Miss from cloudfront)*

- **[PASS]** Site is served via AWS CloudFront CDN (edge: MAD53-P8)
- **[INFO]** CDN cache status: Miss from cloudfront

### HTTP Caching (A+ — 95/100)

*max-age=300 (5 minutes)*

- **[PASS]** Cache-Control header is set
- **[PASS]** Effective TTL: 5 minutes (max-age=300)
- **[PASS]** CDN TTL: 1 minute (s-maxage=60)
- **[INFO]** No ETag or Last-Modified header — Conditional requests (304 Not Modified) are not possible without validators.

### Transport Security (A+ — 100/100)

*HTTP/3, HSTS, and TLS version analysis*

- **[PASS]** HTTP/3 (QUIC) supported — The server advertises HTTP/3 via Alt-Svc for faster connections on mobile networks.
- **[PASS]** HSTS enabled (includeSubDomains, preload)
- **[PASS]** HSTS preload enabled
- **[PASS]** TLS 1.3 in use (fastest handshake, 1-RTT)

---

## Accessibility

### Landmark Structure (A — 90/100)

*6 landmarks*

- **[PASS]** <main> landmark present
- **[PASS]** 2 <nav> landmark(s) found
- **[WARNING]** 2 of 2 <nav> elements are unlabeled — Multiple navigations need aria-label to distinguish them for screen readers.
- **[PASS]** Skip navigation link present

### Heading Hierarchy (A+ — 100/100)

*26 headings*

- **[PASS]** Single H1 present

### Alt Text Quality (A+ — 100/100)

*All 7 images OK*

- **[PASS]** 7 image(s) with good alt text

### Form Accessibility (A+ — 100/100)

*All 35 controls labeled*

- **[PASS]** 35 control(s) properly labeled

### Link & Button Quality (A+ — 100/100)

*73 links, 8 buttons — all OK*

- **[PASS]** 73 link(s) with descriptive text

---

## UX

### 404 Error Page (A — 90/100)

*HTTP 404, custom page*

- **[PASS]** Correct 404 status code returned
- **[PASS]** Custom styled 404 page
- **[PASS]** Navigation links present on 404 page
- **[PASS]** Homepage link present on 404 page
- **[PASS]** Search form present on 404 page

### Favicon & Branding (B — 70/100)

*5 icon(s) detected*

- **[PASS]** favicon.ico present at site root
- **[PASS]** HTML icon links detected
- **[PASS]** Apple touch icon present
- **[PASS]** Multiple icon sizes detected

### Web Manifest (D — 40/100)

*Not found*

- **[INFO]** No web manifest found — No manifest at standard paths (/manifest.json, /site.webmanifest). A manifest is optional but enables PWA features like home screen installation and standalone display.

### Dark Mode Support (D — 45/100)

*Theme color only*

- **[INFO]** Theme-color present but no dark variant — A theme-color is set but no dark-specific variant was found. The browser toolbar may not adapt for dark mode users.
- **[INFO]** No dark mode signals detected — Consider adding CSS with @media (prefers-color-scheme: dark) and <meta name='color-scheme' content='light dark'>.
- **[INFO]** Detection limited to meta tags and inline styles — External CSS files may contain prefers-color-scheme rules not visible to this scan.

### Print Stylesheet (D — 40/100)

*No print styles*

- **[INFO]** No print-specific styles detected — When users print this page, they get the screen layout including navigation and non-essential elements. Add @media print rules to hide navigation and optimize layout for paper.

### Navigation UX (F — 30/100)

*1 navigation pattern(s)*

- **[PASS]** Skip navigation link detected
- **[PASS]** 2 navigation landmark(s) detected

---

## SEO

### Canonical URL (A+ — 100/100)

*Properly configured*

- **[PASS]** Canonical tag present
- **[PASS]** Canonical is self-referencing
- **[PASS]** Canonical matches final URL after redirects
- **[PASS]** Canonical target returns 200

### Meta Tags (A+ — 100/100)

*Title optimized*

- **[PASS]** Page title is set
- **[PASS]** Title length (34 chars) is optimal
- **[PASS]** Title and H1 are well-aligned

### Content Depth (B — 80/100)

*686 words, Very Difficult*

- **[PASS]** Page has 686 words of content
- **[INFO]** Reading level: Very Difficult (grade 20)

### Internal Links (A+ — 100/100)

*58 internal, 15 external*

- **[PASS]** 58 internal links (79%)
- **[PASS]** 100% of links use descriptive anchor text
- **[INFO]** 58 internal / 15 external links

### Image SEO (A+ — 100/100)

*7 images, 7 descriptive filenames*

- **[PASS]** All images have descriptive filenames

### Hreflang

*0 hreflang tags*


---

## Sustainability

### CO2 Per Page Load (A+ — 100/100)

*0.08g CO2 per view*

- **[PASS]** 0.08g CO2 per page view — This page transfers 0.3 MB, producing an estimated 0.08g of CO2 per visit using the Sustainable Web Design model (v4). Breakdown: data center 0.01g, network 0.01g, end-user device 0.05g.
- **[INFO]** At 10,000 monthly views: 9.5 kg CO2/year — With 10,000 page views per month, this page would generate approximately 9.5 kg of CO2 annually — equivalent to charging 1192 smartphones.

### Green Hosting (D — 40/100)

*Not green*

- **[INFO]** No confirmed renewable energy commitment detected — Consider providers like Cloudflare, Google Cloud, or Vercel that match 100% of their energy use with renewables.
- **[INFO]** AWS: Renewable energy varies by region; committed to 100% by 2025
- **[INFO]** AWS CloudFront: Renewable varies by edge location
- **[INFO]** Green hosting status based on known provider commitments — Green hosting detection uses a curated database of provider renewable energy commitments. This is not a real-time verification. For authoritative checks, visit thegreenwebfoundation.org.

### Repeat Visit Weight (A+ — 100/100)

*96% cached*

- **[PASS]** 96% reduction on repeat visits — Returning visitors download only 10 KB (vs 287 KB first visit). 19 of 20 resources are served from browser cache, saving 0.08g CO2 per repeat visit.
- **[INFO]** Repeat visit: 0.00g CO2 (first visit: 0.08g)

### Carbon Budget (A+ — 100/100)

*10th percentile*

- **[PASS]** 0.08g CO2 — below the sustainability target of 0.50g — Cleaner than an estimated 90% of websites analyzed. This page meets the Web Sustainability Guidelines target.
- **[INFO]** Estimated 10th percentile — Compared to: top 10% = 0.20g, target = 0.50g, median = 0.60g per page view.

### Transfer Efficiency (A+ — 100/100)

*92% efficient*

- **[PASS]** Transfer efficiency: 92% — Only 23 KB of potential savings identified. Your page is well-optimized for size.

---

---

*Generated by [BeaverCheck](https://beavercheck.com) — https://beavercheck.com/results/65400e6d-034b-441e-9802-255010790bc2*
