mozilla / blurts-server

Mozilla Monitor arms you with tools to keep your personal information safe. Find out what hackers already know about you and learn how to stay a step ahead of them.
https://monitor.mozilla.org
Mozilla Public License 2.0
715 stars 203 forks source link

Structured Data Linter warnings #1444

Closed pdehaan closed 6 months ago

pdehaan commented 4 years ago

https://search.google.com/structured-data/testing-tool#url=https%3A%2F%2Ffx-breach-alerts.herokuapp.com

Structured_Data_Testing_Tool

Only warnings. Not sure if worth fixing or not. 🤷‍♂


Here's the results from the npx structured-data-testing-tool output, which doesn't seem to do the same schema validations as the Google tool.

npx structured-data-testing-tool --url=https://fx-breach-alerts.herokuapp.com/ --presets=SocialMedia --schemas "jsonld:Product"

Tests

  Schema.org > Product - 100% (1 passed, 1 total)
    ✓  schema in jsonld

  Facebook - 50% (4 passed, 8 total)
    ✓  must have page title
    ✓  must have url
    ✓  must have image url
    ✓  should have page description
    •  should have account username ["og:site_name"]
    •  should have locale ["og:locale"]
    ✕  must have page type ["og:type"]
    ✕  must have image alt text ["og:image:alt"]

  Twitter - 42% (3 passed, 7 total)
    ✓  must have card type
    ✓  must have title
    ✓  must have description
    •  should have account username ["twitter:site"]
    •  should have username of content creator ["twitter:creator"]
    ✕  must have image url ["twitter:image" || "twitter:image:src"]
    ✕  must have image alt text ["twitter:image:alt"]

Statistics

  Number of Metatags: 11
  Schemas in JSON-LD: 1
     Schemas in HTML: 0
      Schema in RDFa: 0
  Schema.org schemas: Product
       Other schemas: 0
    Test groups run : 4
     Total tests run: 16

Results

    Passed: 8 (50%)
  Warnings: 4 (25%)
    Failed: 4 (25%)

  ✕ 4 of 16 tests failed with 4 warnings.
Shivansh2407 commented 4 years ago

Can I fix them all?

EMMLynch commented 6 months ago

Closing since we've redesigned the site and functionality since this was created. If you feel that this is still needed, please let me know.