Check your pages
All docsA check measures your page at each width and lists what a visitor would trip over, each with the fix. Findings are advice: nothing is changed and nothing is blocked.
Run a check
velluma check velluma check --page about.html --widths 390,1280
Without options it checks index.html at 390, 768 and 1280 pixels wide. Up to six widths from 320 to 3840 work. Your agent runs the same check through its check tool.
- Each kind of finding shows its five worst rows, errors first; the totals count every row.
--code TAP_TARGETshows every row of one kind.--strictexits with an error when there is any warning or error, for scripts and CI.
At each width
These need the page drawn, so Velluma measures them in its built-in browser. When that browser cannot start, they are listed as not measured, with the reason.
| Text spills over OVERFLOW_X | Something is wider than the screen and makes the page scroll sideways. Let it wrap, cap its width at the screen, or remove the fixed width. |
|---|---|
| Hard to read TEXT_CONTRAST | Text too close in colour to what is behind it. The finding says the contrast needed. Over a photo it is noted but not measured. |
| Too small to tap TAP_TARGET | A link or button under 24 by 24 pixels. Give it padding or a minimum height. |
| Navigation missing NAV_HIDDEN | At this width the menu has no visible link and no menu button. |
| Split across lines SPLIT_TOKEN | A phone number, time, price or house number broken over two lines. |
| A word alone ORPHAN_WORD | One short word by itself on a heading's last line. Balance the heading's lines. |
| Drawn over text TEXT_OVERLAP | A decoration sits on top of words. |
On every page
| No alt text MISSING_ALT | A picture with no description. Describe it, or mark it as decoration with an empty description. |
|---|---|
| Empty link EMPTY_LINK | A link with no words. Give it text, or a label that says where it goes. |
| No language MISSING_LANG | The page does not say which language it is in. |
| No title MISSING_TITLE | The browser tab and search results have no name for the page. |
| No description MISSING_DESCRIPTION | Search results have no summary to show. |
| No social preview MISSING_SOCIAL_PREVIEW | A shared link shows no title, text or picture. The finding lists which are missing. |
| No icon MISSING_ICON | The browser tab has no site icon. |
| Wrong count COUNT_MISMATCH | The text promises a number of things and the list after it has a different number. |
| Phone not linked PHONE_NOT_LINKED | A phone number that a visitor cannot tap to call. A long date can trigger it too. |
| Address not linked ADDRESS_NOT_LINKED | A street address with no link to a map. |
| Current page not marked NO_CURRENT_PAGE | The menu does not mark the page you are on. |
| Off the scale OFF_SCALE | A size written by hand that is close to one of the site's shared sizes. Use the shared one, or add it. |
| Motion with no still version MOTION_NO_REDUCED | An animation that keeps playing for people who asked their computer for less motion. |
| Hidden until a script runs REVEAL_HIDES_CONTENT | Content starts invisible and only a script shows it, so it stays hidden if the script fails. |
Reading a finding
The check prints its findings as JSON. Each row names the page, the width, the file and line, the element and what was measured, then the fix in a sentence under next. A footer link too small to tap at the phone width:
{
"code": "TAP_TARGET",
"severity": "warn",
"page": "index.html",
"width": 390,
"file": "index.html",
"line": 51,
"selector": "footer > nav > a:nth-of-type(1)",
"measured": { "width": 46.7, "height": 21.0, "required": 24.0 },
"next": "make it at least 24 by 24 px with padding or min-height"
}
Above the rows, counts gives the total for each kind of finding.