mdn / mdn/fred

Improve Lighthouse score

Open
#966 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
233
Forks
61
Avg merge
1d 1h
Merged PRs (30d)
82

Description

Follow-up of https://github.com/mdn/yari/issues/4060.

As of 2022-11-28, MDN has the following scores (in Chrome 107 on Mac OS, using Incognito mode):

Desktop
image
Mobile
image

Performance (62/100)

image
Opportunities
  • Eliminate render-blocking resources (1.94s)
    image
  • Reduce unused JavaScript (0.3s)
    image
  • Reduce unused CSS (0.15s)
    image
Diagnostics
  • Avoid an excessive DOM size (3,312 elements)
    image
  • Serve static assets with an efficient cache policy (8 resources found)
    image
  • Minimize main-thread work (2.5s)
    image

Accessibility (91/100)

image
  • Buttons do not have an accessible name
    image
  • Heading elements are not in a sequentially-descending order
    image

Best Practices (92/100)

  • Browser errors were logged to the console
    image

SEO (92/100)

  • Links do not have descriptive text
    image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files, tests, or entry points are identified. Start by running Lighthouse against the documented MDN page and compare the current Performance, Accessibility, Best Practices, and SEO findings with this report; done means addressing the listed findings and verifying improved scores.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
accessibility, frontend, performance, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.