Where: profiler.html:208 (<span class="reference-status" id="referenceStatus">) vs. its sibling status elements at lines 184 (fileStatus), 293 (statusA), and 300 (statusB).
The gap: fileStatus, statusA, and statusB are all aria-live="polite". referenceStatus - populated by profiler-ui.js with "⚖ scored vs <file>" after a reference baseline is successfully applied (or cleared) - has no aria-live attribute at all.
Repro:
$ grep -n 'id="fileStatus"\|id="referenceStatus"\|id="statusA"\|id="statusB"' profiler.html
184: <p class="profiler-status" id="fileStatus" aria-live="polite" hidden></p>
208: <span class="reference-status" id="referenceStatus"></span>
293: <span class="mini-drop-status" id="statusA" aria-live="polite"></span>
300: <span class="mini-drop-status" id="statusB" aria-live="polite"></span>
3 of 4 status indicators in this file carry aria-live="polite"; referenceStatus doesn't.
Why it matters: a screen-reader user who uploads or clears a reference baseline gets no announcement that it succeeded (or was cleared) - the status text updates silently, inconsistent with every other analogous status indicator in the same page.
Suggested fix: add aria-live="polite" to #referenceStatus, matching its three siblings.
Where:
profiler.html:208(<span class="reference-status" id="referenceStatus">) vs. its sibling status elements at lines 184 (fileStatus), 293 (statusA), and 300 (statusB).The gap:
fileStatus,statusA, andstatusBare allaria-live="polite".referenceStatus- populated byprofiler-ui.jswith"⚖ scored vs <file>"after a reference baseline is successfully applied (or cleared) - has noaria-liveattribute at all.Repro:
3 of 4 status indicators in this file carry
aria-live="polite";referenceStatusdoesn't.Why it matters: a screen-reader user who uploads or clears a reference baseline gets no announcement that it succeeded (or was cleared) - the status text updates silently, inconsistent with every other analogous status indicator in the same page.
Suggested fix: add
aria-live="polite"to#referenceStatus, matching its three siblings.