-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscroll-a11y.config.example.json
More file actions
31 lines (28 loc) · 1003 Bytes
/
Copy pathscroll-a11y.config.example.json
File metadata and controls
31 lines (28 loc) · 1003 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"$comment": "Example scroll-a11y-audit configuration. Copy to scroll-a11y.config.json and pass with --config. Every key is optional; omitted keys fall back to the defaults documented in the README.",
"rules": {
"no-reduced-motion-guard": true,
"content-only-revealed-by-animation": true,
"reduced-motion-still-animates": true,
"focus-order-breakage": true,
"motion-exceeds-safe-thresholds": true,
"no-pause-mechanism": true,
"animation-blocks-interaction": true,
"missing-view-transition-reduced-motion": true,
"scroll-hijacking": true,
"animation-without-motion-preference-scaling": false
},
"severityOverrides": {
"scroll-hijacking": "serious",
"animation-without-motion-preference-scaling": "minor"
},
"thresholds": {
"parallaxViewportPercent": 15,
"maxScaleFactor": 1.5,
"maxRotationDegrees": 15,
"loopDurationSeconds": 5,
"maxOscillationHz": 3,
"snapContentHeightPx": 3000,
"invisibleOpacity": 0.05
}
}