Automattic / Automattic/o2

Best practices not followed

Open
#237 0 comments 0 reactions 0 assignees View on GitHub
dependencies
Dominant language
JavaScript
Stars
338
Forks
56
Avg merge
24m
Merged PRs (30d)
16

Description

Lighthouse scans reveal some web best practices which could be harming user experience

![Image](https://github.com/user-attachments/assets/ce55209e-08c5-43ec-a513-146e388e7ac6)

The deprecated API usage for 'UnloadHandler' is jQuery related and would likely require an upgrade.

The low resolution images can be fixed by requesting a larger avatar size from Gravatar, [by passing a `s={size}` parameter](https://docs.gravatar.com/api/avatars/images/).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported Lighthouse scan and inspect the code that uses the deprecated jQuery UnloadHandler API and renders Gravatar avatars. Done means the deprecated API warning is addressed and avatar requests use the documented s={size} parameter so the low-resolution image warning is resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, jquery
Domain
frontend, performance
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.