@fusion.dev/helix-docs 0.216.0 → 0.218.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -152,6 +152,10 @@ helix scan: 1 error, 0 warnings, 0 info, and 0 unsettled, in 42 files
152
152
  - **`--file <path>` reports one file's findings**, and still reads the whole
153
153
  project, so an import in another file counts. `--stdin <language>` checks a
154
154
  snippet.
155
+ - **`--fix` writes the fixes it can into your source**, then reports what is
156
+ left. For `unlinked-trigger` it adds `aria-describedby` to the trigger, and
157
+ an `id` to the tooltip where it has none. A tag it cannot find exactly once,
158
+ such as an `id` set in an expression, is left for you.
155
159
 
156
160
  It exits 1 on a finding at `error`, and 3 where it cannot run, such as where no
157
161
  installed Helix package has lint data.
@@ -210,7 +214,7 @@ run `helix scan --out` after it to add your code's run.
210
214
  | `unknown-slot` | error | scan | A child names a slot its Helix element does not have, so it is not drawn |
211
215
  | `unknown-tag` | error | both | A rule or an element names a tag no installed package lists |
212
216
  | `unknown-token` | error | scan | A rule reads or sets a `--helix-` name the token set does not have |
213
- | `unlinked-trigger` | warn | scan | A tooltip's `for` names a plain element that does not name the tooltip in `aria-describedby`, so the page at rest meets the trigger undescribed |
217
+ | `unlinked-trigger` | warn | scan | A tooltip's `for` names a plain element that does not name the tooltip in `aria-describedby`, so the page at rest meets the trigger undescribed. `helix scan --fix` writes the link |
214
218
  | `unreflected-attribute` | warn | both | A rule selects a Helix element by an attribute it never writes back, so it matches only markup a server wrote |
215
219
 
216
220
  **A button inside a button is judged where the markup settles it.** Button,