Skip to content
IzzyBlazor

Enter all results ↑ ↓ move Esc close

Find and check a fix

With a free account, izzy audit says which component drew a finding's element, what to change and where it is written in your code. You or your coding agent make the change, and a recheck says whether it worked. izzy itself changes no code.

Find a finding in your code

A finding on an element an IzzyBlazor component drew names the component, links its docs page, and gives the fix when izzy knows one, such as the option to set. With --run or --project, izzy also reads the app's source and gives the file and line where the component is written:

report.md
- Component: `Breadcrumb`, inside `PageHeader`
- Fix: Two Breadcrumbs on a page need a name each: set Label on this one, such as Label="Order path". [Docs](https://izzyblazor.com/docs/components/breadcrumb)
- Source: `Components/Pages/Orders.razor:12`, confidence high

izzy finds the page's file from its @page route, then looks in that file, its layout and the components of yours they use. One tag is that line. Among several, it picks the one whose written text is in the element, such as its Label or id, and says how sure it is: high for one tag, medium for one picked from several. When it can't pick, it lists the places. An element a component draws for you, such as a button in a DataGrid's toolbar, is traced to that component's tag. Plain HTML is found by its tag with its id or class.

Some components draw the same element, such as Dialog and Drawer, or Stack and Row. Without the source the report names each of them, and the source says which one it is. What a component draws inside itself, such as a date field's calendar button or a DataGrid's pager, is traced to that component. What you wrote inside a component, such as a Button as a Menu's Trigger, is traced to your own tag.

What the fix is, and isn't

A fix is a sentence about the rule that failed: the option to set, or the markup to change. It fixes what the rule measured. It doesn't tell you the words to use. A name such as Label="Order path" has to say what the thing is to someone who can't see it, and only a person who knows the page can write it.

Check a fix

Each finding has an id, printed in report.md and results.json. After a fix, --recheck audits the finding's page again and says whether it is fixed. izzy finds the page in the newest run in .izzy/audit/ that has the finding:

bash
izzy audit --recheck 527e645e33f7 --run
What a recheck answers
AnswerExit codeMeans
Fixed0The page was audited again and the finding is gone.
Still there, accepted0The element still fails the rule, and the finding no longer counts: you accepted it, or its verdict is false positive or demo page, and the answer says which with the reason. It isn't fixed.
Still there5The finding is on the page again, and it is real or needs a person.
Not checked1The page didn't load, answered with an error or led to another page, or you asked for other widths or schemes than the earlier run's.

An edit that moves the element gives its finding a new id. izzy then says how many findings of the same rule the earlier run lacks, and names one.

Fixed means the rule no longer fails on that element. For a name, a label or an announcement, listen to it with a screen reader as well. In results.json, recheck.state is fixed, closed (still there, with a verdict that doesn't count), still there or not checked.

With a coding agent

izzy mcp gives a coding agent two tools for this. audit_page audits one page and answers with the findings by verdict and where the report is. recheck_finding takes a finding's id and says whether it is fixed. Neither changes code: the agent or you make the fix. The tools need a free account, and audit one page a call.

The skill that izzy agent writes tells the agent how to use them: fix the real findings, ask you about each one that needs a person, never accept a finding by itself, and never say a page conforms because an audit found nothing.

Connection lost

Rejoining the server…