Advanced40-60 minProjectPart 7 of 9

Black Swan Bistro - Part 7

Audit the Live Website

Inspect the deployed Bistro before changing code, then record evidence that helps you decide what to improve next.

Learning Objectives

By the end of this lesson, you'll be able to:

  • Explain Explain the purpose of a live-site audit before improvement work begins
  • Use an audit record to capture repeatable evidence
  • Check accessibility, responsive behaviour, performance, SEO, content, links, console output, and maintainability
  • Classify findings by impact and urgency
  • Separate observations, likely causes, and proposed fixes
  • Prepare a shortlist of findings for Part 8

Why This Matters:

An audit gives you a record of how the deployed site behaves. Use it to choose improvements and preserve the parts that already work.

Before You Start:

You should be familiar with:

The Audit Mindset

An audit is a structured look at how the current site behaves for real visitors, search engines, browsers, and future maintainers. The main question is: what can we prove from the live site?

Observe first

Record what happened before deciding why it happened. "Menu image is missing on mobile at 390px" is stronger than "the CSS is bad".

Protect what works

Positive findings matter. If the keyboard order works, headings are clear, or images are well compressed, record that so later changes do not damage it.

Connect to users

Prioritise findings that affect a customer trying to read the menu, understand the venue, contact the restaurant, or use the site on a phone.

Student Resource: Audit Record

Black Swan Bistro live-site audit record

Use this Markdown worksheet while testing the live Bistro URL. It includes the audit checklist, findings table, severity guide, and evidence notes.

A finding should contain five parts

PartWhat to record
LocationPage, section, component, link, selector, or file path.
ObservationWhat you saw, heard, clicked, tested, or measured.
ImpactWho is affected and why it matters.
Evidence Screenshot name, viewport, tool note, console message, or URL.
Next action Retest, investigate, improve, monitor, or leave unchanged.

Worked example: a menu link opens Contact

This is a hypothetical practice example, not a reported fault in the published Bistro. Suppose the home-page footer has a link labelled Menu that opens Contact. The header Menu link still works.

  1. Open the deployed home page at 390 × 844. Record its full URL, browser version, date, and deployed commit if known.
  2. Use Tab to reach the footer Menu link and press Enter. Write down the destination URL and the Contact heading you see. Repeat with a mouse.
  3. Return home and follow the header Menu link. Confirm that it opens the menu. This tells you whether another route to the task works.
  4. Save the before evidence as F-01-footer-menu-before.png and record the steps above. A screenshot alone cannot show the whole path.
  5. Inspect the footer link. If its href points to contact.html, record that separately as evidence of a likely cause. Leave the code unchanged during this audit.

Completed finding F-01

Location
Home page, footer Menu link.
Observation
At 390 × 844, activating Menu by keyboard or mouse opens Contact. The header Menu link opens the menu.
Impact
A customer using the footer must backtrack to find the menu. The task is harder, but another working route exists.
Evidence
The recorded home and destination URLs, keyboard steps, before screenshot, and inspected footer href.
Severity
Medium in this scenario because the task has a workaround. If the only menu link failed, reassess the impact.
Next action
Check the intended destination, then correct the link in Part 8 and repeat the same visitor path.

Record a working result too

Hypothetical finding F-02: on the same home page, Tab and Shift+Tab reach the header links in reading order, focus stays visible, and Enter on Menu opens the menu. Record the tested URL and sequence, attach F-02-header-focus.png, and choose No action. Preserve that behaviour when changing the footer. This result covers the tested header path; it does not establish accessibility across the site.

Your findings may be entirely positive. Record the checks and their limits, mark untested areas as pending, and carry forward only genuine candidates for improvement. You do not need to invent a defect.

What to Check

You have met most of these topics in earlier lessons. The audit does not reteach all of them; it asks you to apply them to one live site.

AreaChecksUseful evidence
AccessibilityHeadings, landmarks, alt text, keyboard focus, link purpose, contrast, form labels, reduced-motion assumptions.Keyboard notes, screenshots, accessibility tree or inspector notes.
Responsive behaviourMobile, tablet, desktop, zoom, touch target spacing, line length, image cropping, navigation layout.Viewport width, screenshot, page section, exact behaviour.
PerformanceLarge images, render-blocking assets, unnecessary JavaScript, layout shift, slow first view, caching clues.Network panel notes, file sizes, Lighthouse or PageSpeed notes if used.
SEO and contentTitle, description, one clear H1, useful headings, internal links, image alt text, restaurant details, page intent.Rendered page notes, page source where useful, metadata screenshots.
Links and formsNavigation, footer links, menu links, contact links, external links, form behaviour, missing destinations.Clicked path, expected result, actual result.
MaintainabilityRepeated content, unclear file names, fragile CSS, hard-coded values, comments that no longer match the site.File path, selector, duplicated text, reason it may slow future changes.

Severity: Impact Before Preference

Severity is a judgement about user impact, business impact, technical risk, and how urgently the issue should be handled.

High

Blocks a key task, excludes users, breaks the live site, exposes private information, or creates a serious trust problem.

Medium

Makes an important task harder, weakens search or performance, or risks future breakage if ignored.

Low

Small polish, minor consistency, or maintainability work that can wait until higher-impact items are handled.

If you are unsure, write the uncertainty down. "Likely medium; needs keyboard retest" is more honest than pretending the audit is certain.

Check Your Audit Thinking

Before you begin the full audit, check that your evidence will be useful.

  1. Why should you audit the deployed Bistro before changing the code?
  2. What makes a finding useful rather than vague?
  3. Why should positive evidence be recorded too?
Check Your Answers
  1. The live site may have hosting, path, asset, routing, metadata, or device behaviour that did not appear locally. Auditing first protects evidence and prevents random changes.
  2. A useful finding names the page or component, describes the observed behaviour, explains the impact, includes evidence, and suggests a next action without overclaiming.
  3. Positive evidence shows what should be preserved. It also prevents the audit from becoming a defect hunt that ignores working accessibility, content, or deployment decisions.

How confident are you with this concept?

Still confused | Getting there | Got it | Could explain it to a friend

Guided Practice: Complete the First Audit Pass

Use the record to inspect the live Bistro without making any code changes yet.

Set up the audit record

Download the audit record template, add the deployed Bistro URL, and note the date, browser, viewport sizes, and tester name. Start with facts, not judgements.

Need a hint?
Use the live deployed URL from Part 6, not localhost.
If you do not have a deployed URL yet, use this lesson as a rehearsal and mark the URL field as pending.

Complete a first visitor pass

Open the site like a visitor: home page, menu, about page, contact page, header links, footer links, and any booking or contact calls to action. Record only observable findings.

Need a hint?
A finding can be positive. Audits should record what works as well as what needs attention.
If a detail depends on the fictional client brief, reference the brief instead of guessing.

Test three viewport sizes

Check mobile, tablet, and desktop widths, for example 390px, 768px, and 1280px. Record the actual dimensions used. Watch for horizontal scrolling, cramped text, cropped images, hidden navigation, buttons that are hard to tap, or layout shifts while assets load.

Need a hint?
Use your browser responsive tools, then confirm at least one real narrow browser window if possible.
Do not rewrite the CSS during this pass. Capture the evidence and keep moving.

Repeat the keyboard path

Reload the home page. Use Tab and Shift+Tab to move through its links, check that you can see focus, and press Enter on the menu link. Record the starting page, link label, destination, and any point where you cannot continue. Repeat on the other pages.

Need a hint?
A screenshot can show focus, but your notes must describe the sequence you tested.
Compare your record with the worked finding. Keep expected results separate from observations.

Inspect technical evidence

Use DevTools for Console and Network checks. Record missing files, JavaScript errors, failed image requests, large assets, missing metadata, or anything that changes how the live site behaves.

Need a hint?
A clean Console is useful evidence. Record it.
If you run Lighthouse, treat it as one signal, not the whole audit.

You're on track if you can:

  • The audit record names the tested live URL and date
  • At least one positive finding is recorded
  • Findings separate observation, impact, evidence, and next action
  • Mobile, tablet, desktop, keyboard, Console, and Network checks are represented
  • No code changes are made during the audit pass

Independent Challenge: Produce the Audit Record

Now try this on your own without hints!

Your task

Complete a live-site audit record for Black Swan Bistro. Record results that another person can understand and retest, including working behaviour and limits to your checks.

Requirements:
  • Record the deployed URL, date, browser, and viewport sizes used
  • Test each audit area you can, and explain any pending or inapplicable checks
  • Record a result for each audit area, including positive results and any untested checks
  • Mark each finding as high, medium, low, monitor, or no action
  • Carry up to three genuine improvement candidates into Part 8, or explain why no change is needed
Stretch Goals (Optional):
  • Add named screenshots or short screen recordings as evidence
  • Ask another learner to retest one finding and compare notes
  • Add a short paragraph explaining what you will not change yet and why

Success Criteria:

CriteriaYou've succeeded if...
Evidence qualityA reviewer can reproduce or understand each finding from the record.
Scope controlThe audit records findings without turning into unplanned coding work.
Prioritisation readinessCandidates have enough evidence for Part 8, or the record explains why no change is needed and what remains untested.

Recap

You now have an audit record for the live Bistro. It should show what works, what needs attention, what evidence supports each finding, and what should happen next. That record is the raw material for Part 8.

Lesson Complete: Audit Before You Improve

Key Takeaways:

  • A live-site audit records evidence before code changes begin.
  • Good findings are specific, observable, and tied to user impact.
  • Accessibility, responsive behaviour, performance, SEO, links, console output, content, and maintainability all belong in the audit.
  • Severity is about risk and impact, not personal annoyance.
  • Part 8 will turn the audit record into a small, justified improvement plan.

Learning Objectives Review:

Look back at what you set out to learn. Can you now:

  • Explain the purpose of a live-site audit before improvement work begins Check!
  • Use an audit record to capture repeatable evidence Got it!
  • Check accessibility, responsive behaviour, performance, SEO, content, links, console output, and maintainability Can explain it!
  • Classify findings by impact and urgency Could teach this!
  • Separate observations, likely causes, and proposed fixes Check!
  • Prepare a shortlist of findings for Part 8 Got it!

If you can confidently answer "yes" to most of these, you're ready to move on!

Think & Reflect:

Judgement

  • Which finding matters most for a real visitor, and why?
  • Which finding is tempting but should wait?

Evidence

  • Could someone else retest your top finding from your notes?
  • What evidence do you wish you had captured more clearly?

Looking Ahead:

Continue to Part 8, where you will prioritise the audit findings, make a small set of deliberate improvements, test before and after, and record the work in an improvement log.

Recommended Next Steps

Continue Learning

Ready to move forward? Continue with the next tutorial in this series:

Black Swan Bistro — Part 8 (Prioritise and Improve)

Additional Resources

Deepen your understanding with these helpful resources:

Progress tracking is disabled. Enable it in to track your completed tutorials.