Medium impact ๐ŸŒฟ

Use html elements correctly

HTML semantics are important. They don't just play a key role in making the Web look the way it does, they have a function in accessibility, in SEO, and even in sustainability. Ensuring that you markup your content correctly and avoid cluttering your markup wastefully will reduce emissions.

Actions checklist
  • Semantic Code

    Ensure content is marked up semantically using the right HTML element for the right job.

  • Optional Features

    Consider removing optional HTML tags (which aren't required for rendering), attribute quotes, or attributes that are set to their default value.

  • Avoid Non-standard Code

    Avoid using non-standard elements or attributes.

  • Custom Code

    Only use custom elements or Web Components if you cannot utilize native HTML elements or if you need tightly regulated control over the implementation of design system components.

โ˜ž See on W3C

๐Ÿฆพ๐Ÿฆพ

High impact ๐ŸŒฟ

Rigorously assess third party services

Whether advertising, chatbots, maps, or other tooling; outsourcing your service to a third-party provider may be potentially useful in certain scenarios in reducing design or development time and redundancy (which can be a win for sustainability). Third-party services, however, come with issues, such as the lack of control over emissions, and they often can potentially suffer from latency and large file sizes which may not exist if you self-hosted or created the material.

Actions checklist
  • Assess Third-Parties

    Assess third-party services (including plugins, widgets, feeds, maps, carousels, etc) as early in the ideation or creation process as possible and use as few as possible to reduce the product or service's overall ecological impact, including Scope 3 emissions.

  • Third-party Implementation

    Third-party content (including plugins, widgets, feeds, maps, carousels, etc) should be placed behind a click-to-load delay screen (using the "import on interaction" pattern), while alternatives to automated solutions such as chatbots should be offered.

  • Libraries And Frameworks

    Large CSS libraries and JavaScript frameworks should only be used if a more performant alternative which achieves the same goal cannot be used instead.

  • Self-Hosting

    Prioritize self-hosted content over embedded content from third-party services.

  • Avoiding Dependency

    Create your own clickable icons and widgets, rather than relying on third-party services to host or allow embedding within your product or service.

โ˜ž See on W3C

๐Ÿฆพ๐Ÿฆพ

Medium impact ๐ŸŒฟ

Create a frictionless lightweight experience by default

When providing the option to download, save, print, or access anything online, defaulting to the most lightweight, least featureful version will reduce emissions through passive browsing; with non-essential information removed from the screen either to be shown when it's required or eliminated.

Actions checklist
  • Performance By Default

    Prioritize performance optimization as a product or service's default approach.

  • Efficient Paths

    The path taken to access the service (the initial contact with the website or service) should be as efficient and as simple as possible (time required to complete an action displayed, reducing too much choice, ensuring visitors know what's required at the start of a complex set of steps, etc).

  • Patterns For Efficiency

    Make your user-journey (when browsing an accessed website or service) as smooth as possible. User-research is key, as is building on established design patterns which people already understand.

  • Distraction-Free Design

    Visitors can complete tasks without distractions or non-essential features getting in the way.

  • Eliminate The Non-Essential

    Visitors see only information that is relevant to their experience, without non-essential information being displayed on the screen.

  • User-Initiated Actionable Content

    Ensure that actionable information such as pop-up or modal windows can only be initiated by the visitor.

โ˜ž See on W3C

๐Ÿฆพ๐Ÿฆพ

Medium impact ๐ŸŒฟ

Use the latest stable language version

Languages evolve regularly, and it's important for security and performance reasons to keep on-top of the technology stack you are using.

Actions checklist
  • Versioning

    Use the latest build of your chosen syntax language and its coupled framework.

โ˜ž See on W3C

๐Ÿฆพ๐Ÿฆพ

Medium impact ๐ŸŒฟ

Provide suitable alternatives to web assets

Media, images, fonts, and documents enrich the Internet. The problem is that people may not want to watch a video, listen to an audio file, look at an image, or use a specific application. By providing alternative formats to anything you embed, you ensure the widest possible audience can benefit from it (and reduced carbon output will occur as alternative text will induce less consumer hardware thrashing than its rich media alternative).

Actions checklist
  • Open Formats

    All proprietary file formats (such as PDF) should also be offered in HTML for accessibility and to ensure future availability.

  • Font Subsetting

    All custom typefaces (using font-display) should be subsetted and offered as part of a font stack with a system font as a backup.

  • Alternative Text

    All images should provide meaningful alternative text for screen reader users (or when images fail to load) accessibility.

  • Audio Alternatives

    Audio should provide text transcripts of conversations as an alternative to playing the media.

  • Video Alternatives

    Video should provide text transcripts (at minimum), subtitles (using WebVTT), and for accessibility best practice, offer closed captions and sign language options.

โ˜ž See on W3C

๐Ÿฆพ๐Ÿฆพ

Low impact ๐ŸŒฟ

Avoid using deprecated or proprietary code

The Web is full of dead, often proprietary code, created using standards which have been superseded or by groups which aren't recognized. By following recognized coding standards, you ensure that your code will be rendered properly by browsers (and reduce the potential for added emissions occurring from unmaintained rendering processes).

Actions checklist
  • Deprecated Code

    Upgrading or avoiding deprecated formats is important, the only exception being if consumer support demands maintaining older standards to provide a functional product.

  • Outdated Code

    Don't use an older standard if a newer recommendation will do the same job as or more effectively.

โ˜ž See on W3C

๐Ÿฆพ๐Ÿฆพ

Medium impact ๐ŸŒฟ

Avoid code duplication

Redundancy is the enemy of sustainability. Having systems in place to ensure that everyone can work from established patterns, the website or application remains clean and easy to use, and iteration over redesign is firmly in the mindset that will help promote sustainable practices. It's also worth being wary of abstracting code too early (see AHA methodology) or incorrectly, as while good abstractions can be more efficient, poor ones can waste effort and introduce complexity, bloat, and bugs to your codebase which can lead to emissions.

Actions checklist
  • Remove Or Simplify

    Don't be afraid to remove or simplify (through rewriting for performance) your code to focus on essential features and have a cleaner, less redundant product (and codebase).

  • Iteration Over Recreation

    Improve (iterate) an existing creation rather than constantly redeveloping and redesigning products from scratch (duplication of coding effort) if possible to reduce visitor learning burden and developer impact.

  • Organize Code Arrangement

    Within CSS and JavaScript, use methodologies (like BEM) and systems like DRY and WET to optimize the arrangement and output of your source code.

โ˜ž See on W3C

๐Ÿฆพ๐Ÿฆพ

High impact ๐ŸŒฟ

Ensure your solutions are accessible

Not everyone can access services equally, being sustainable is also about being accessible, fair, ethical, and ensuring that your product or service doesn't discriminate. As such, ensuring your website complies with best-practices and relevant laws whilst meeting the needs of your visitors is critical as well as good business.

Actions checklist
  • Accessibility Compliance

    Your website or application must conform to WCAG (at the necessary level), plus extend beyond to obey relevant laws and meet additional visitor accessibility requirements. Building inclusively means that people with permanent, temporary or situational disabilities will be able to more quickly find what they are looking for, and not have to spend extra time searching for a way to use your product or service.

  • Enhancing For Accessibility

    Enhance your website or application with Accessible Rich Internet Applications (ARIA) ONLY if applicable or necessary, and accessibility enhancing features when useful or beneficial.

  • Electronic Inequalities

    Deploy solutions which fight against electronic inequalities in products and services.

โ˜ž See on W3C

๐Ÿฆพ๐Ÿฆพ