@diegovelasquezweb/a11y-engine 0.11.7 → 0.11.8

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.11.7",
3
+ "version": "0.11.8",
4
4
  "description": "WCAG 2.2 accessibility audit engine — scanner, analyzer, and report builders",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -1062,7 +1062,12 @@ async function runPa11yChecks(routeUrl, axeTags, sharedBrowser = null, includeWa
1062
1062
 
1063
1063
  if (groupedByRule.has(ruleId)) {
1064
1064
  // Add node to existing violation
1065
- groupedByRule.get(ruleId).nodes.push(node);
1065
+ const existing = groupedByRule.get(ruleId);
1066
+ existing.nodes.push(node);
1067
+ // A confirmed error overrides warning-level needs_verification
1068
+ if (!isWarning) {
1069
+ existing.needs_verification = false;
1070
+ }
1066
1071
  } else {
1067
1072
  // Create new violation for this rule
1068
1073
  groupedByRule.set(ruleId, {