"""Account for every inherited axe node without upgrading manual requirements.""" from collections import Counter, defaultdict import json from pathlib import Path HERE = Path(__file__).resolve().parent ROOT = HERE.parents[3] source = ROOT / 'docs/redesign/phase-8/p8-05/evidence/axe.json' data = json.loads(source.read_text(encoding='utf-8')) groups = defaultdict(list) for scan in data['scans']: for rule in scan['incomplete']: for node in rule['nodes']: checks = node.get('any', []) + node.get('all', []) + node.get('none', []) keys = sorted(set((check.get('data') or {}).get('messageKey', check['id']) for check in checks)) component = 'dashboard size selector' if '