A good bug report names the broken behaviour, the exact URL, numbered steps to reproduce from a known starting point, expected versus actual result, a severity, and the environment (browser, OS, device) plus a screenshot. Get those six things right and a developer can fix the bug on the first attempt instead of the second or third.
Everything else in this guide is detail on those six things, the mistakes that undo them, and a template you can paste into whatever you use to track bugs today.
What a bug report needs, field by field
Each field below exists because leaving it out reliably costs a round trip, a message, a wait, a reply, and the fix that should have taken ten minutes stretches into days of calendar time.
A title that names the behaviour
“Checkout is broken” tells nobody anything. “Submit button does nothing on mobile checkout when the discount field is empty” can be routed, estimated, and sometimes diagnosed from the title alone.
The exact URL
Staging and production drift, and query strings change behaviour. “The pricing page” stops being precise the moment a site has more than one version of it.
Steps to reproduce, numbered
Start from a state anyone can reach, then list every click and every value typed, in order. If someone who has never seen the bug can't follow the list and hit it, the list is incomplete.
Expected vs. actual, kept separate
A surprising number of reported bugs turn out to be misunderstandings of intended behaviour. Splitting the two fields surfaces that in the report instead of in a meeting.
Severity, not priority
Severity is how badly the thing is broken, and the reporter can judge it. Priority is when it gets fixed, and that's a roadmap decision, not a reporting one.
Environment and evidence
Browser, OS, device and screen size are the four variables behind most “works on my machine” standoffs, and a screenshot or recording settles the rest.
Weak report vs. strong report
Same bug, two write-ups. The difference is not effort, it's which fields are present.
| Field | Weak report | Strong report |
|---|---|---|
| Title | “Form is broken” | “Contact form submit button stays disabled after checking the consent box on mobile” |
| URL | “The contact page” | https://example.com/contact?ref=footer |
| Steps | “Try to submit the form, it doesn't work” | “1. Open the URL above in a fresh tab. 2. Fill name and email. 3. Check the consent box. 4. Tap Submit.” |
| Expected / actual | Not stated | “Expected: form submits and shows a success message. Actual: button stays greyed out, nothing happens.” |
| Severity | “This is urgent!!” | “Major — form has no other way to submit, but the rest of the site works.” |
| Environment | Not stated | “iPhone 14, Safari, portrait, logged out” |
| Evidence | None, or a photo of a screen taken with another phone | A screen recording of the tap and the button staying disabled |
The mistakes that cause the most back-and-forth
Most weak reports fail for one of a small number of repeatable reasons:
Starting the steps in the middle. “Click submit and it fails” assumes the reader already got to the form, logged in as the right user, and filled it the same way you did. Start from a state anyone can reach, a logged-out home page or a fresh incognito window, and number every action from there.
Mixing diagnosis into the description. “It's probably a caching issue” might be true, but it buries what actually happened under a guess. State what you observed, then add a theory as a separate note if you have one.
Skipping whether it reproduces every time. A bug that happens once in five attempts is a different investigation than one that happens every time, and not saying which leaves a developer unsure whether their fix worked or they just got lucky.
Everything marked urgent. When severity and priority get conflated, every report arrives flagged critical, and the label stops meaning anything. Write the severity scale down once, put it where people report, and stick to it.
No evidence, or the wrong kind. A description of a layout problem without a screenshot forces a developer to go find the bug themselves before they can even start fixing it. For anything visual, a screenshot or short recording is faster than a paragraph.
A short template to copy
This is deliberately short. Every field earns its place by being something a developer would otherwise have to ask for; nothing more.
## Title
[What is broken] on [where] when [under what condition]
## URL
The exact page the bug happens on
## Steps to reproduce
1. Start from ...
2. Click ...
3. Enter ...
4. Observe ...
## Expected result
What should have happened.
## Actual result
What happened instead.
## Severity
Blocker / Critical / Major / Minor / Cosmetic
## Environment
- Browser + version:
- OS:
- Device:
- Screen size:
## Evidence
Screenshot or recording.
## Reproduces
Every time, or only sometimes.If you want the longer version with field-by-field reasoning and a severity scale you can hand to a whole team, the bug report template guide covers it in more depth. This post is the short version aimed at anyone writing one report right now.
Writing a bug report as a client, not a developer
Everything above assumes the reporter can reasonably produce it, and for an internal QA pass, that's a fair assumption. It falls apart the moment the reporter is a client. Clients report bugs the moment they notice them, from whatever they're holding, in whatever channel is already open. Asking them to open developer tools and copy a console error is asking them to do QA work they were never hired for.
The practical fix isn't a stricter form, it's not asking a human for the fields a machine already knows. Browser, OS, device, viewport and the page URL are all knowable automatically the moment someone clicks on a live page. What still needs a person is the one-sentence description of what looked wrong. That's the split tapko.app is built around: a client clicks the spot on the page, types a sentence, and the rest of this template fills itself in behind the scenes before it ever reaches a developer.
If you're deciding whether a dedicated tool is worth it versus a shared doc, this comparison of bug reporting tools for agencies covers the trade-offs, and if bug reports are only one part of a wider pre-launch pass, the website QA checklist covers where they fit in that process.
A bug report isn't documentation, it's a handoff, and it succeeds on one question: can the next person reproduce this without talking to you? Write to that question and the rest of the format follows.
Frequently Asked Questions
How do you write a good bug report?
A good bug report names the broken behaviour in the title, gives the exact URL, lists numbered steps to reproduce from a known starting point, states what you expected versus what actually happened, assigns a severity, and includes the environment (browser, OS, device) plus a screenshot or recording. If a developer can follow it and hit the bug on the first try, it is a good report.
What is the biggest mistake people make writing bug reports?
Starting the steps to reproduce in the middle, such as “click submit and it fails,” which assumes the reader already reached the form, logged in as the right user and filled it the same way. The fix is to start from a state anyone can get to, such as a logged-out home page, and number every action from there.
What is the difference between expected and actual results?
Expected result is what should have happened; actual result is what happened instead, ideally word for word if there was an error message. Keeping them in separate fields surfaces misunderstandings of intended behaviour in the report itself instead of in a follow-up call.
Do I need to include a screenshot in every bug report?
For anything visual, yes. A screenshot or short recording settles ambiguity about layout, spacing and error states faster than a written description can, and it is the first thing a developer opens when triaging a report.
How much detail is too much in a bug report?
Enough to reproduce the bug on the first try, and no more. Padding a report with unrelated observations or speculation about the cause buries the fields a developer actually needs. If a detail does not help someone reproduce or judge the severity of the bug, it belongs in a separate note, not the report.
