Bug title examples, and the rule behind them

Bug title examples from websites and web apps, before and after, and the rule behind them: the area, what broke, and the condition, in one short sentence.

A thick smoked glass plate lies flat with one narrow orange strip laid across its top edge

A bug title names what broke and where, in one sentence, so that someone scanning a queue can tell it apart from every other bug in that part of the product. Write the area, then the failure as you saw it, then the condition that triggers it. Leave the fix, the urgency and the feelings out.

A bug title is read in a list, before anything else

Nobody reads a bug title on its own page. It is read in a queue, a search result, a notification or a release note, next to dozens of other titles, by somebody deciding whether to open it. The triager scans it to place the report. The developer scans it to pick work. The next person to hit the same fault searches for it, and either finds the existing report or files a second one.

That is why the field on our bug report template asks for “what broke and where, in one sentence” and says it is “what somebody scans to spot a duplicate”. Mozilla’s Bug Writing Guidelines, written for Bugzilla, put the same job in other words: “A good summary should quickly and uniquely identify a bug report.” Quickly is the reader in the queue. Uniquely is the reader looking for a duplicate.

A title does none of the report’s other work. It does not reproduce the bug, which is the job of the steps to reproduce, and it does not record the browser, the expected result or the evidence, which have their own fields. Most weak titles come from trying to make one line carry the whole report, or from carrying nothing at all.

The rule is area, failure, condition

Every good title in the examples below has the same three parts, usually in this order.

PartThe question it answersExample
AreaWhere in the site or app?Checkout
FailureWhat did the reader see go wrong?Place order stays disabled
ConditionWhat makes it happen, and separates it from its neighbours?after a valid promo code is applied

The area comes first because it sorts. A queue read top to bottom groups itself when every title opens with the page, feature or component, and a triager can see five checkout bugs together before reading any of them. A colon after the area keeps it visibly apart from the rest.

The failure is what was observed, in plain words: a button that stays disabled, a menu that does not open, a total that shows the wrong figure, a page that goes blank. It describes the symptom and stays away from the cause, because the cause is usually unknown when the report is filed, and a guessed cause in the title sends the developer to the wrong code.

The condition is the part most titles miss, and it is the part that makes a title unique. Checkout has many bugs. Checkout with a promo code has fewer. The condition can be an input, a browser, a screen size, a user role, a sequence of actions or a state of the data, whichever one the reporter knows the bug depends on.

How to write a bug title in four steps

  1. Write the rest of the report first. The steps, the expected result and the actual result tell you what the failure and the condition are.
  2. Name the area as the team names it: the page title, the feature name or the component on the design system, so the title matches what people search for.
  3. Describe the failure as you saw it, with the words on the screen where they help: the button label, the error message, the field name.
  4. Add the one condition that matters and read the title next to the other open bugs for that area. If it could be confused with one of them, the condition is missing or too broad.

On length, Mozilla’s guidelines ask for “approximately 10 words” and, in their outline of a report, a summary of “less than 60 characters”. The template’s own example runs to twelve words. Take the figure as a warning sign for a title that is turning into a description, and keep the condition even when it costs a few words.

Bug title examples from websites and web apps

Each row is a weak title of the kind reporters write, rewritten under the rule. The examples come from the sort of faults a website or web app review finds: forms, navigation, layout, content, accounts and data.

BeforeAfterWhat changed
Checkout brokenCheckout: Place order stays disabled after a valid promo code is appliedArea kept, failure described, condition added
Menu not working on mobileHeader: Menu button does nothing on iPhone Safari in portrait“Not working” replaced by what happens; the condition narrowed
Contact form issueContact form: Send shows success but no email reaches the inboxThe failure is the gap between what the page says and what happened
Images look weirdProduct page: Gallery images stretch to full width below 768pxThe visual fault named, with the breakpoint where it starts
Search is slowSite search: Results take over ten seconds for queries with an apostropheA measurable symptom and the input that triggers it
Can’t log in!!!Sign-in: Valid password rejected after a password reset on the same dayFeelings out, sequence of actions in
Fix the footerFooter: Privacy link points to the old /privacy-policy URL and returns 404The request to fix replaced by the fault
Dashboard bugDashboard: Revenue chart shows last month’s figures after changing the date rangeWhich widget, what it shows, what triggers it
Upload failsMedia library: PNG upload over 10 MB fails with no error messageThe input that triggers it and the missing feedback
Button colour wrongPricing page: Start trial button uses the grey disabled style while enabledThe visual fault stated against the design system
Cookie banner keeps appearingCookie banner: Reappears on every page after Reject all is chosenThe action that should have dismissed it
Text cut offBlog post: Long headings overflow the card on the index at tablet widthWhere, what, at which size
Export not rightOrders export: CSV puts dates in US format for a UK accountThe output fault and the account setting it depends on
Admin can’t see usersTeam settings: Members list is empty for admins invited after 1 OctoberThe role and the data condition that separate it
URGENT homepage downHomepage: Blank white page in Firefox, console shows an uncaught TypeErrorUrgency out, browser in because it is the condition, the error noted

A few of these carry a figure or a date inside the condition. That is fine when the figure is the condition, as with the 10 MB upload, because a developer will test exactly at that boundary.

Visual bugs need the element and the size

A visual bug is often specific to one viewport or one browser, so its condition is usually a width, a device or a rendering engine. Name the element the way the design calls it (“the pricing card”, “the primary button”), say what is wrong with it compared with the design, and give the size at which it starts. “Layout broken” tells the reader nothing about which of a hundred elements to look at.

Client and stakeholder reports need a second title

Feedback from a client or a stakeholder in a review round often arrives titled “Homepage feedback” or “Changes from Tuesday’s call”, with several points inside. That title describes a meeting. Each point becomes its own ticket with its own title under the rule, and the reviewer’s wording stays in the description, where it is kept as the record of what was asked.

What to leave out of a bug title

Most bad titles are bad because of something added to them. Each of these has a better home in the report.

  • The fix. “Make the button blue” or “Add validation to the email field” is a request, and it settles the solution before anyone has looked at the cause. Mozilla’s guidelines ask the summary to explain “the problem, not your suggested solution”. Describe the fault, and put a suggestion in the notes if you have one.
  • Urgency and severity. “Critical” belongs in the severity field. “URGENT” or a row of exclamation marks is a claim on priority, and the order of work is a decision made elsewhere, as argued in how to prioritise bugs. A title that shouts sorts no better and reads worse.
  • Vague verbs. “Broken”, “not working”, “issue with” and “weird” name no failure. Replace each with what the reader saw.
  • The environment, unless it is the condition. A reporter who saw the bug on one browser and has not tried another does not know whether the browser matters. The browser goes in the environment field, and it moves into the title only once the team knows the bug happens there alone.
  • Prefixes and numbers. “Bug:”, “[QA]”, the reporter’s name and the ticket number are already shown by the tracker, and they push the area away from the start of the line, where a scanning reader looks for it.
  • The steps. “Go to checkout, add code, click apply, nothing happens” is a list of steps squeezed into a line. Write the steps out as steps, and keep the title for the result.
  • More than one bug. A title with “and” in it often holds two faults. Split them, because they will be fixed, tested and closed at different times.

A title is a draft until triage reads it

The first title is written by whoever found the bug, often in a hurry and sometimes by a client who has never seen the tracker. A triager who rewrites it before assigning the ticket is doing the job well. The reporter’s own words stay in the description, so nothing they said is lost.

Two habits keep titles useful after triage. Keep the title on the symptom even once the cause is known, because the next person to hit the fault will search for what they saw, and they never saw the cause. And when two reports turn out to be the same fault, keep the clearer title on the one that stays open and link the duplicate to it.

A report filed from the page itself needs less from its title. When a feedback widget attaches the page URL, the browser, the viewport and the console to the ticket, as evidence capture does in Notarus, the title does not have to carry any of them. It can stay short and stay on the failure, and the condition can be confirmed from the evidence before the triager settles the wording. Which evidence a failure needs, layer by layer, is covered in web application testing, and how to read an error message from the browser yourself is in how to inspect element.

The rule takes a few seconds to apply and pays for itself the first time somebody searches the tracker for a fault that is already there. A title that names the area, the failure and the condition gets found.

Common questions

What makes a good bug title?

A good bug title names what broke and where, in one sentence, so that somebody scanning a queue can tell it apart from every other bug in the same part of the product. Write the area first, then the failure as it was seen, then the condition that makes it happen.

How do you write a bug title?

Write the rest of the report first, then the title. Name the area of the site or app, describe what you saw go wrong in plain words, and add the one condition that triggers it, such as a browser, a screen size, a role or an input. Then read it next to the other open bugs for that area and check it could not be confused with any of them.

What is an example of a good bug report title?

"Checkout: Place order stays disabled after a valid promo code is applied" is a good bug report title. Each part does a job: the area tells a triager which queue it belongs to, the failure says what was seen, and the promo code separates it from every other checkout bug.

How long should a bug title be?

Mozilla's Bug Writing Guidelines ask for a summary of approximately ten words and, in their outline, fewer than 60 characters. Treat the figure as a sign of a title that has grown into a description. A title that needs twelve words to stay unique is better than a ten-word one that matches three other bugs.

Should a bug title include the browser or device?

Include the browser or device only when the bug is known to happen there and nowhere else, because then it is the condition that defines the bug. When the reporter has seen it on one browser and has not tried another, the browser belongs in the environment field and the title stays general.

What should you leave out of a bug title?

Leave out the fix you would suggest, words about urgency or severity, the reporter's feelings, prefixes such as "Bug:", ticket numbers and the steps themselves. Each has a better home in the report, and each makes the title harder to scan or to search when somebody looks for a duplicate.

The Notarus team

The people who build Notarus. We write up the decisions behind the product when the reasoning is worth more than the changelog line.

Keep reading

Reports with the evidence attached.

Start free, one script tag.

<script src="…/widget.js" data-key="pb_pub_…">