@diegovelasquezweb/a11y-engine 0.10.0 → 0.10.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diegovelasquezweb/a11y-engine",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "WCAG 2.2 accessibility audit engine — scanner, analyzer, and report builders",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -547,6 +547,7 @@ export function classifyFindingOwnership({
547
547
  * @returns {boolean}
548
548
  */
549
549
  function isFalsePositive(finding) {
550
+ if (finding.needs_verification) return false;
550
551
  const htmls = finding.evidence.map((e) => e.html || "").join(" ");
551
552
  if (finding.rule_id === "color-contrast") {
552
553
  if (/background(?:-image)?\s*:\s*(?:linear|radial|conic)-gradient/i.test(htmls)) return true;