Skip to content

Conversation

chris-lawton
Copy link
Member

@chris-lawton chris-lawton commented Oct 14, 2025

Description of Changes Made

This MR adds a carbon.txt file at the root of the site to publish Torchbox’s sustainability disclosures and upstream infrastructure data, following the Green Web Foundation carbon.txt standard.

Includes:

  • Links to Torchbox’s sustainability policy, impact reports, and emissions methodology post
  • Upstream services list (Heroku, AWS S3, Cloudflare, GitHub Actions)

Why:
To increase transparency about our digital infrastructure and environmental impact, and to support adoption of open sustainability data standards.

How to Test

Screenshots

Expand to see more

MR Checklist

  • Add a description of your pull request and instructions for the reviewer to verify your work.
  • If your pull request is for a specific ticket, link to it in the description.
  • Stay on point and keep it small so the merge request can be easily reviewed.
  • Tests and linting passes.

Unit tests

  • Added
  • Not required

Documentation

Browser testing

  • I have tested in the following browsers and environments (edit the list as required)
    • Latest version of Chrome on mac
    • Latest version of Firefox on mac
    • Latest version of Safari on mac
    • Safari on last two versions of iOS
    • Chrome on last two versions of Android
  • Not required

Data protection

  • Not relevant
  • This adds new sources of PII and documents it and modifies Birdbath processors accordingly

Light and dark mode

  • I have tested the changes in both light and dark mode
  • The change is not relevant to dark and light mode

Accessibility

  • Automated WCAG 2.1 tests pass
  • HTML validation passes
  • Manual WCAG 2.1 tests completed
  • I have tested in a screen reader
  • I have tested in high-contrast mode
  • Any animations removed for prefers-reduced-motion
  • Not required

Sustainability

  • Images are optimised and lazy-loading used where appropriate
  • SVGs have been optimised
  • Performance and transfer of data considered
  • If JavaScript is needed alternatives have been considered
  • Not required

Pattern library

  • The pattern library component for this template displays correctly, and does not break parent templates
  • The styleguide is updated if relevant
  • Changes are not relevant the pattern library

@chris-lawton chris-lawton changed the title Draft: Add carbon txt Draft: Add carbon.txt Oct 14, 2025
Copy link
Member

@helenb helenb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good @chris-lawton I just had 2 queries.

@@ -0,0 +1,15 @@
[org]
disclosures = [
{ doc_type="sustainability-page", url="https://torchbox.com/sustainability-policy/", domain="torchbox.com" },
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is sustainability-page the correct type here? This blog post suggests it needs to be in a particular format, although I may have misunderstood (and the file validates correctly) https://www.thegreenwebfoundation.org/news/using-carbon-txt-with-csrd-reports/

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think (and I could be wrong) that the report in that blog post would have doc_type="csrd-report". From the current doc_type options available (Web Page, Annual Report, Sustainability Page, Certificate, CSRD Report and Other) I felt like sustainability-page was the most appropriate for this url.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, CSRD reports have a separate type, that is meant to link to a machine-readable format I believe.

@chris-lawton chris-lawton changed the title Draft: Add carbon.txt Add carbon.txt Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants