Black Swan Bistro - Part 8
Prioritise and Improve
Turn your Part 7 audit record into a small, justified improvement pass with before-and-after testing.
Not Every Finding Becomes Today's Work
A useful audit often creates more findings than you can responsibly fix at once. That is normal. Choose a change that helps visitors, then test whether it worked.
In this lesson, your audit record becomes an improvement plan. You will choose a few findings, make focused changes, retest, and write down what changed.
- Which audit finding would make the biggest difference to a visitor?
- Which finding is easy to fix but not very important?
- What could break if you change too much at once?
This lesson depends on the Part 7 audit record. Keep the record open while you work.
Learning Objectives
By the end of this lesson, you'll be able to:
- Prioritise audit findings by impact, effort, confidence, and risk
- Choose a small improvement set that can be tested properly
- Make focused code changes without redesigning the whole site
- Record before-and-after evidence in an improvement log
- Use Git commit messages to explain purposeful improvements
- Identify Identify remaining risk and future work honestly
Why This Matters:
Prioritisation helps you choose work you can finish and test. Record why each change is worth doing now and what you will leave for later.
Before You Start:
You should be familiar with:
- Black Swan Bistro Part 7: Audit the Live Website Review here
- Refactoring for Reuse Review here
- Monthly Website Health Check Review here
Prioritise the Audit Findings
Start with the audit record, not your memory. For each candidate finding, ask four questions:
Impact
How much does this affect visitors, trust, accessibility, search, or maintainability?
Effort
Can this be fixed and retested in this improvement pass?
Confidence
Is the evidence strong enough, or does the finding need another test first?
Risk
What might break if you change this, and how will you check?
Scores can help, but they do not replace judgement. If two findings have similar scores, choose the one that has clearer evidence and a cleaner test path.
Worked example: choose what to do first
Use these anchors for a 1-5 score. Values 2 and 4 sit between the descriptions. These are discussion aids, not measurements to add into a total. High effort and risk count against an easy change; high impact and confidence support it.
| Criterion | 1 | 3 | 5 |
|---|---|---|---|
| Impact | Minor cosmetic issue | A task is harder but has a workaround | A key task is blocked or users are excluded |
| Effort | One small edit and a short retest | Several related edits and checks | Broad work beyond this session |
| Confidence | An untested suspicion | Observed once; more checking needed | Repeatable result and supporting evidence |
| Regression risk | Isolated change with a clear test | Shared code affects several pages | Wide impact with poorly understood dependencies |
The following findings are hypothetical. F-01 is the footer link example from Part 7; F-03 and F-04 are additional practice candidates. Keep these examples separate from observations about your own site.
| Finding | Scores | Decision and reason |
|---|---|---|
| F-01: footer Menu opens Contact | 3 / 1 / 5 / 1 | Do first. Reproduced by keyboard and mouse; one destination change has a clear retest. |
| F-03: opening hours repeated across four files | 2 / 3 / 5 / 3 | Plan. All copies currently agree; a shared source needs checks on every affected page. |
| F-04: footer spacing feels uneven | 1 / 1 / 2 / 2 | Defer. No overlap or blocked task was observed. Check other widths before changing shared CSS. |
Choose F-01 for this pass. F-03 can wait while the hours remain correct, and F-04 needs a clearer reason to change. A severe issue still needs attention when its fix is difficult: investigate or escalate it rather than allowing a high effort score to hide the problem.
Choose the Improvement Set
| Decision | Meaning | Bistro example |
|---|---|---|
| Do first | High user impact, clear evidence, manageable change, low regression risk. | A mobile navigation link is hard to reach, or an image fails to load on the live menu page. |
| Plan carefully | Important, but needs design judgement, client approval, or wider retesting. | Reworking the menu page hierarchy or replacing several large images at once. |
| Quick polish | Low risk and easy to fix, but not more important than user-blocking issues. | A small spacing inconsistency or a clearer footer link label. |
| Monitor or defer | Not enough evidence, low impact, or outside the current project scope. | A cosmetic preference that would trigger a broad redesign. |
Scope guard: choose up to three justified improvements for this lesson. One well-tested change is enough. Retest every completed improvement. If no change is justified, document that decision and complete the separate practice exercise below.
Student Resource: Improvement Log
Black Swan Bistro improvement log
Use this Markdown worksheet to prioritise findings, record before evidence, track changed files, note tests, and capture the after result.
Each log entry should answer
- What finding from the audit record is being handled?
- Why is it worth doing now?
- What is the smallest sensible change?
- What files changed?
- How was the before state captured?
- How was the after state tested?
- What remains unresolved?
Make Focused Changes
Work in a small loop: choose one finding, make the change, test the affected behaviour, update the log, then decide whether to continue. This keeps the Bistro maintainable and protects your ability to explain the work.
A tidy improvement might be an image dimension fix, clearer link text, a mobile spacing adjustment, a corrected metadata description, a missing alt text decision, or a small refactor that removes duplicated restaurant details. A broad restyle is usually too much for this pass.
Worked example: fix and verify F-01
This continues the hypothetical footer finding. In this example the source is a static index.html, and menu.html is in the same folder. Find the equivalent source in your own project; a Vue project may use RouterLink and a route such as /menu. Confirm the route before editing.
Capture the baseline, then change the destination
Keep the Part 7 before evidence. Confirm the intended menu page exists, then change only the footer link destination. Leave the working header and shared styles alone.
<!-- Before: Menu opens the wrong page -->
<a href="contact.html">Menu</a>
<!-- After: use the confirmed menu destination -->
<a href="menu.html">Menu</a>Repeat the visitor task
- Open the changed site locally. At the same 390 × 844 viewport, Tab to the footer Menu link and press Enter. Check the URL and menu content, then use Back and repeat with a mouse.
- Confirm focus is still visible. Repeat the header Menu path from F-02, test the footer link at desktop width, and check other footers if they share the changed source.
- Reload the destination and check Console and Network for new errors or failed requests. Run the existing build or validation commands for your project. A successful build alone does not test the link.
- Save the after screenshot and test notes with the same browser, viewport, and link path as before. Record any different conditions.
Completed practice log entry
These are example results for the scenario, not measurements from the live Bistro. Replace them with your own results when doing real work.
- Finding and reason
- F-01: correct the footer route so a customer can reach the menu.
- Change and files
- Change the footer href in
index.htmlfrom Contact to Menu. - Before evidence
F-01-footer-menu-before.pngand the Part 7 keyboard and mouse steps show Contact opening.- Test steps
- Repeat the four checks above; record actual desktop dimensions and command outcomes.
- After evidence
F-01-footer-menu-after-local.pngand notes show Menu opening by keyboard and mouse. Header navigation and focus still work in the tested paths.- Result and limits
- Locally verified in the example. Deployment pending; mobile device testing and other untested paths remain unverified.
- Commit message
Fix home footer Menu link destination
Review and commit the change
In this static example, review the diff, stage the changed file, inspect what is staged, then commit after the relevant checks pass. Substitute your actual file path. Keep unrelated work out of the commit and record the resulting commit ID in the log.
git diff -- index.html
git add -- index.html
git diff --cached
git commit -m "Fix home footer Menu link destination"
git rev-parse --short HEADFollow your Part 6 deployment method when you are ready to publish. After deploying, repeat the affected checks on the public URL and record the deployed commit, date, and result. Until then, label the improvement locally verified, deployment pending. If a check fails, record the failure and fix it before claiming the improvement is complete.
Practice when your audit needs no changes
Keep the real site unchanged. In a separate practice folder, create index.html, menu.html, and contact.html as simple valid HTML documents with distinct titles and H1 headings. Put the before link in the home-page footer. Open the home page locally, reproduce the wrong destination, apply the fix, and repeat the keyboard and mouse checks. Commit the exercise in its own practice repository, or draft the commit message if you are only rehearsing. Label the log Practice only; do not deploy it or merge its invented finding into your real audit. This exercise tests a link correction, not the hosting behaviour of your deployed site.
Before and After Evidence
Evidence is how you know the improvement worked. The exact evidence depends on the finding:
| Finding type | Before evidence | After evidence |
|---|---|---|
| Mobile layout | Viewport width and screenshot showing the issue. | Same viewport width and screenshot after the fix. |
| Keyboard or accessibility | Tab order note, focus screenshot, inspector note, or screen reader observation. | Repeated keyboard path or accessibility check with the result recorded. |
| Performance | Network file size, image dimensions, or measured issue. | Reduced file size, correct dimensions, or repeated measurement. |
| Content or SEO | Current title, heading, page copy, link, or metadata. | Updated rendered page and source or metadata check where relevant. |
Do not invent performance gains. If you did not run Lighthouse or a production network test, say exactly what you did test.
Check Your Improvement Plan
Before editing, make sure the plan is small enough to test.
- What if your audit finds no change worth making?
- Local tests passed, but the deployed footer link still opens Contact. Is the improvement complete?
- Why should Part 8 start from the Part 7 audit record instead of a fresh list of ideas?
- What is the risk of fixing five unrelated findings in one change?
- What should an improvement log prove?
Check Your Answers
- Record the tested areas, supporting evidence, and coverage limits. Leave the real site unchanged and use the separately labelled practice exercise to rehearse a correction.
- No. Record the failed production check, confirm which version was deployed, and investigate the destination on the public URL. Local success does not verify the deployed behaviour.
- The audit record keeps the work evidence-based. It helps you choose improvements that solve observed problems rather than preferences invented after the fact.
- It becomes harder to test, review, explain, or undo the work. A regression may be difficult to trace back to one cause.
- It should show what was changed, why it was changed, what evidence existed before, how the change was tested, what evidence exists after, and what remains unresolved.
How confident are you with this concept?
Still confused | Getting there | Got it | Could explain it to a friend
Guided Practice: Plan and Complete One Improvement
Use the improvement log to move from evidence to a focused change.
Review the candidates from Part 7
Review up to three genuine candidates and copy their evidence into the improvement log. Choose by visitor impact, not by a quota of different issue types. If no change is justified, record that decision and use the separate practice exercise to rehearse a fix.
Need a hint?
Score impact, effort, confidence, and risk
For each finding, score impact, effort, confidence in the evidence, and regression risk. Use the worked scoring anchors to explain what to do now. Keep the scores separate and write a reason for the decision.
Need a hint?
Make one improvement at a time
Change the smallest amount of code that solves the selected finding. Retest the affected page before moving to the next item.
Need a hint?
Record before and after evidence
Add the before evidence, changed files, test steps, after evidence, and remaining risk to the improvement log. The log should explain the decision to someone who did not watch you code.
Need a hint?
Commit and record release status
Review the diff and the test results, then commit the focused change with a message that names its purpose. Record the commit ID. If you deploy, repeat the relevant checks on the public URL and record the deployed version. Otherwise mark the result locally verified, deployment pending.
Need a hint?
You're on track if you can:
- Each real improvement links to a Part 7 finding; practice findings stay separately labelled
- The chosen work is small enough to test properly
- Changed files are recorded
- Before-and-after evidence uses comparable conditions
- Remaining risks or deferred findings are written down
Independent Challenge: Complete the Improvement Pass
Now try this on your own without hints!
Your task
Complete a focused improvement pass for the live Black Swan Bistro site. Use your audit record to choose up to three justified improvements, make the changes, retest each one, and finish the improvement log. If none is justified, document the evidence and untested areas, then complete the separate practice exercise.
Requirements:
- Review the available audit candidates before editing and explain your decisions
- Complete up to three justified improvements, or document no change needed and complete the labelled practice exercise
- Record before evidence and after evidence for each completed improvement
- Run the relevant local checks for every change; after deployment, repeat the affected checks on the public URL
- Commit each completed real improvement with a clear message and record its ID; for practice-only work, a drafted message is sufficient
- Record release status as locally verified, deployment pending, or verified on the deployed version
- Write a short summary of what remains deferred and why
Stretch Goals (Optional):
- Ask another learner to review the improvement log before deployment
- Have another learner reproduce a completed test from your notes
Success Criteria:
| Criteria | You've succeeded if... |
|---|---|
| Prioritisation | The chosen improvements are justified by audit evidence and visitor impact. |
| Implementation | Changes are focused, readable, and do not introduce unrelated redesign work. |
| Verification | Before-and-after evidence shows what was tested and what changed. |
Recap
You have moved from audit evidence to deliberate improvement. Choose a finding, make a focused change, and repeat the relevant tests. Record the result and any remaining uncertainty. If no change was needed, keep that decision alongside your separate practice log.
Lesson Complete: Improve With Evidence
Key Takeaways:
- Prioritisation connects audit evidence to responsible action.
- Impact, effort, confidence, and regression risk are better guides than personal preference.
- Small focused changes are easier to test, review, and explain.
- Every completed improvement needs comparable before-and-after evidence.
- A good improvement log helps future you understand the decision.
Learning Objectives Review:
Look back at what you set out to learn. Can you now:
- Prioritise audit findings by impact, effort, confidence, and risk Check!
- Choose a small improvement set that can be tested properly Got it!
- Make focused code changes without redesigning the whole site Can explain it!
- Record before-and-after evidence in an improvement log Could teach this!
- Use Git commit messages to explain purposeful improvements Check!
- Identify remaining risk and future work honestly Got it!
If you can confidently answer "yes" to most of these, you're ready to move on!
Think & Reflect:
Impact
- Which improvement had the clearest visitor benefit?
- Which finding did you defer, and was that the responsible choice?
Testing
- Was your after evidence directly comparable to your before evidence?
- What would you test again after deployment?
Looking Ahead:
Continue to Part 9: Responding to a Client Change Request. Keep your audit record, improvement log, commit IDs, and release status ready as you plan, test, and prepare client updates for approval.
Recommended Next Steps
Continue Learning
Ready to move forward? Continue with the next tutorial in this series:
Black Swan Bistro — Part 9 (Responding to a Client Change Request)