Skip to content

Optimole Badge triggers PageSpeed SEO warning: “Links do not have a discernible name” #984

@kushh23

Description

@kushh23

Description

When the Optimole badge is enabled, PageSpeed Insights reports an accessibility/SEO warning:

Links do not have a discernible name

This occurs because the badge includes a link element without proper accessible text or aria-label, which affects the page’s accessibility score and triggers the SEO warning.

Possible Fix:
Add an aria-label or descriptive alt text to the badge link, such as:


<a href="https://optimole.com" aria-label="Optimole - Image Optimization Service">
   <img src="..." alt="Optimole Badge">
</a>

Step-by-step reproduction instructions

  1. Enable the Optimole badge from the plugin settings.
  2. Run a PageSpeed Insights or Lighthouse test.
  3. Check the Accessibility or SEO section for the warning.

Screenshots, screen recording, code snippet or Help Scout ticket

Reported by - https://wordpress.org/support/topic/badge-position-4/
https://pagespeed.web.dev/analysis/https-sperkydita-cz/k4ujwwhpxo?form_factor=mobile
Image

Environment info

No response

Is the issue you are reporting a regression

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis label could be used to identify issues that are caused by a defect in the product.customer reportIndicates the request came from a customer.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions