Course outline
Lab: performance and accessibility audit
Audit two Cedar Books pages with Lighthouse in QAIA, explain the worst findings and suggest a fix for each.
Speed and accessibility are requirements too, and they can be measured. Lighthouse loads a page like a visitor would and scores its performance, accessibility, search readiness and best practices, with the reasons behind each score.
In this lab you audit two Cedar Books pages with QAIA's Lighthouse audits and explain the worst findings, as a tester would to a developer.
What you need
- A QAIA account on Pro or Enterprise, signed in: Lighthouse audits are not part of the Free plan.
- The requirements NFR-01 (speed) and NFR-02 (accessibility) from the practice shop page.
- About 20 minutes.
Steps
- In QAIA, open Lighthouse and audit https://practice.qaia.io/offers.
- Read the performance score, then the reasons behind it: what the largest piece of content is, what blocks drawing, and how big the images are.
- Audit https://practice.qaia.io/books/14 and read its accessibility findings.
- For each finding, name the requirement it breaks (NFR-01 or NFR-02) and write the fix a developer could make, in one sentence.
- Run the Offers audit a second time and compare the numbers: a score moves a little between runs; a real problem stays.
- Sign in here and press "Check my QAIA run" to record the lab.
Hints
Stuck? Open one hint at a time, and try again after each one.
Hint 1
Largest Contentful Paint is the time until the biggest piece of content appears. NFR-01 sets the limit.
Hint 2
An image shown without a width and a height makes the page jump while it loads.
Hint 3
Lighthouse finds many accessibility faults on its own, but not all: compare with the keyboard lab.
Done? Record it
This lab is done with QAIA, so it needs a QAIA account. Sign in, finish the run, then come back here to record it.
Finished it in QAIA? The Academy looks for your own finished run, and reads only that it happened. What counts: A finished Lighthouse audit of a page on https://practice.qaia.io.
The planted bugs
This lab is about 3 of the shop's planted bugs. Compare your findings with the planted bugs of this lab below, and with what the keyboard lab found by hand.
Sign in to see the planted bugs this lab is about. They are kept off this page, so nobody reads them by accident before trying.
Try the lab before you look: a bug you find yourself teaches far more than one you read about.