Commit 780b1c8
committed
fix(a11y): suppress Splunk progressbar aria-label violation (Phase 2.15)
Closes Phase 2.15 (gap G1 from 2026-05-15 gap review). The a11y-audit
workflow had been failing on the `audit` dashboard with one `serious`
violation across 7 nodes: `aria-progressbar-name` on Splunk SimpleXML
auto-generated `<div role="progressbar" id="viewNNNNN">` elements
emitted by the framework while panels are searching the audit index.
The progressbars have meaningful `aria-valuetext` ("0.0% of the time
range scanned.", "Parsing job...") but no `aria-label` / `aria-labelledby`
— Splunk's MVC progressbar component does not expose either, and the
IDs are auto-generated per render. The audit dashboard surfaces this
more than whitelist_manager / control_panel because its searches are
heavier (audit index lookback) so panels are still in the searching
state at scan time. The other two dashboards happened to scan after
the progressbar had disappeared.
Same posture as the 3 existing Splunk-framework-emitted suppressions
above (`aria-allowed-attr`, `aria-valid-attr-value`, `region`): not
something we can fix in app code, an upstream Splunk fix would be
required. Suppressed via regex `re:^#view\d+$` matching all 7 nodes.
Real-user a11y impact is also captured: a v1.1 follow-up adds a
MutationObserver in `appserver/static/notifications.js` (already loaded
on every dashboard) to inject `aria-label="Loading data"` on any
inserted `[role="progressbar"]:not([aria-label])`. That actually fixes
the screen-reader experience rather than only silencing the test.
Surfaced in docs/PUBLIC_RELEASE_PLAN.md §10.
Acceptance:
- `a11y-audit.yml` workflow reports 0 SERIOUS violations across all
3 dashboards (re-run will confirm; local run shows only an
unrelated Splunk dev-license badge color-contrast issue on the
developer machine, which doesn't appear on the CI container's
fresh-license install).
Doc-drift: passes (29 docs / build 660).1 parent 134e627 commit 780b1c8
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
| 323 | + | |
323 | 324 | | |
324 | 325 | | |
325 | 326 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
19 | 24 | | |
0 commit comments