{"_id":"@ariada-org/figma-plugin","name":"@ariada-org/figma-plugin","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@ariada-org/figma-plugin","version":"0.1.0","description":"Figma plugin for local Ariada design accessibility checks.","license":"EUPL-1.2","type":"module","sideEffects":false,"main":"./dist/code.js","types":"./dist/scanner.d.ts","exports":{".":{"types":"./dist/scanner.d.ts","import":"./dist/scanner.js"}},"engines":{"node":">=22"},"keywords":["figma","plugin","accessibility","a11y","ariada"],"repository":{"type":"git","url":"git+https://github.com/ariada-org/ariada.git","directory":"packages/ariada-figma-plugin"},"publishConfig":{"access":"public"},"devDependencies":{"vitest":"^4.1.0"},"scripts":{"build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","lint":"eslint src tests","test":"vitest run","test:e2e":"pnpm build && node scripts/run-fixture.mjs","validate:evidence":"node scripts/validate-evidence-links.mjs","validate:screenshot":"node scripts/validate-screenshot.mjs scan-evidence/screenshot.png","clean":"rimraf dist coverage"},"_id":"@ariada-org/figma-plugin@0.1.0","bugs":{"url":"https://github.com/ariada-org/ariada/issues"},"homepage":"https://github.com/ariada-org/ariada#readme","_integrity":"sha512-kZ/1NB1eM0wnJXP0D33HBnw9FQUdw8mDLHBT34XHiCTRk1NCUuk7gqGOOUoCiiscfw8ybbshHJOIsO5EKbejyA==","_resolved":"/private/var/folders/2c/_42xj0l179z8yc7wmp5k91s00000gn/T/83d3bce1066b4d4b6d599a72334b06c4/ariada-org-figma-plugin-0.1.0.tgz","_from":"file:ariada-org-figma-plugin-0.1.0.tgz","_nodeVersion":"26.5.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-kZ/1NB1eM0wnJXP0D33HBnw9FQUdw8mDLHBT34XHiCTRk1NCUuk7gqGOOUoCiiscfw8ybbshHJOIsO5EKbejyA==","shasum":"77abad046e3e26f4b5df1144ba24f83a477f73cc","tarball":"https://registry.npmjs.org/@ariada-org/figma-plugin/-/figma-plugin-0.1.0.tgz","fileCount":13,"unpackedSize":56429,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCgrZI+CkcORrZQkXZzetnO1DWRZNKtfqzJ9w7LYwWJvgIhAPQi+T0sk4oIM/hLeUOWeNvzA9Tz3vL/TbW+AYl3esXr"}]},"_npmUser":{"name":"agonist","email":"ab@agonist.ai"},"directories":{},"maintainers":[{"name":"agonist","email":"ab@agonist.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/figma-plugin_0.1.0_1784942566084_0.13751374608495293"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-25T01:22:45.981Z","0.1.0":"2026-07-25T01:22:46.308Z","modified":"2026-07-25T01:22:46.508Z"},"maintainers":[{"name":"agonist","email":"ab@agonist.ai"}],"description":"Figma plugin for local Ariada design accessibility checks.","homepage":"https://github.com/ariada-org/ariada#readme","keywords":["figma","plugin","accessibility","a11y","ariada"],"repository":{"type":"git","url":"git+https://github.com/ariada-org/ariada.git","directory":"packages/ariada-figma-plugin"},"bugs":{"url":"https://github.com/ariada-org/ariada/issues"},"license":"EUPL-1.2","readme":"# Ariada Figma Plugin\n\nLocal Figma plugin for design-time Ariada accessibility checks. It scans the\ncurrent Figma selection and reports design-mappable issues for contrast, target\nsize, text alternatives, and semantic layer metadata before a design becomes\ncode.\n\n## Development Loading\n\n1. Run `pnpm --filter @ariada-org/figma-plugin build`.\n2. Open Figma desktop.\n3. Use `Plugins > Development > Import plugin from manifest...`.\n4. Select `packages/ariada-figma-plugin/manifest.json`.\n5. Select a frame or component and run `Ariada Accessibility Scan`.\n\nThe manifest points to `dist/code.js`, so build before loading. The UI file is\nloaded from `src/ui.html` for local development.\n\n## Usage\n\nThe plugin scans selected nodes only. It recursively walks children and reports:\n\n- Low text contrast against the nearest solid background.\n- Interactive targets below 24 px minimum or below the 44 px preferred touch\n  target.\n- Image-like nodes without `alt`, `aria-label`, or `description` plugin data,\n  unless `decorative=true`.\n- Generic landmark or heading metadata that would make handoff semantics weaker.\n\nThe supported plugin data keys are `role`, `alt`, `aria-label`, `description`,\n`decorative`, and `headingLevel`.\n\n## Limitations\n\n- No network calls are made; the manifest declares `networkAccess.allowedDomains:\n  [\"none\"]`.\n- Figma layer data is not a browser DOM. This plugin does not replace runtime\n  Ariada scans of implemented pages.\n- Background detection uses the nearest solid fill. Blends, images, gradients,\n  effects, and token inheritance need later expansion.\n- Figma Community publishing is blocked until the founder uses the Ariada-owned\n  Figma account to create the listing and complete marketplace review.\n\n## Evidence\n\nRun the local harness:\n\n```sh\npnpm --filter @ariada-org/figma-plugin test:e2e\npnpm --filter @ariada-org/figma-plugin validate:evidence\n```\n\nThe harness scans `tests/fixtures/known-bad-frame.json` and writes:\n\n- `test-report/result.html`\n- `scan-evidence/result.html`\n- `scan-evidence/result.json`\n- `scan-evidence/run-output.txt`\n\nUpdate:\n- Author: Alexander Brichkin (Agonist Development AB)\n- Date: 2026-07-01\n","readmeFilename":"README.md","_rev":"1-a30f729a7c2cc92eb85a08fb3b233b88"}