Skip to content

[BUG] Green Web Check links to Directory even if the provider is not shown there #659

Description

@fershad

Please choose the appropriate severity level accompanied by this report by removing the exess severity labels.

Describe the bug
When running a Green Web Check, when a "green" result is returned it includes a link to the hosting provider. This link points to the hosting provider's listing in the Hosting Directory. However, some hosting providers (personal web hosts, individual websites etc) are not shown on in the Directory. When this occurs, the link in the Green Web Check results just opens the Directory page but does not anchor to a particular provider.

For example: https://www.thegreenwebfoundation.org/green-web-check/?url=https://carbontxt.org

This feels like a poor user experience, and could lead to some confusion for users who click the link to a hosting provider that is not listed on the Directory page.

To Reproduce
Steps to reproduce the behavior:

  1. Go to: https://www.thegreenwebfoundation.org/green-web-check/?url=https://carbontxt.org
  2. Find the text saying Hosted by: Green Web Foundation
  3. Click the link on Green Web Foundation
  4. Notice how the Directory opens but does not anchor to any provider listing

Expected behavior
There should be some logic around when to expose a link to a provider in the Green Web Check. That is:

  1. If a provider is marked "show on website" -> link to the provider
  2. If not, show the provider's name without a link

Metadata

Metadata

Assignees

Labels

Severity: lowBug severity levelbugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions