Skip to content

profiler.html's referenceStatus has no aria-live, unlike its three sibling status elements #468

Description

@yakew7

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions