fix: label admin inventory results
Quality / test (push) Canceled after 0s

This commit is contained in:
2026-09-11 09:21:00 -04:00
parent 18a99595e5
commit bb8499e10c
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -138,14 +138,14 @@ onMounted(load);
</li>
</ul>
<ul v-if="valuations.length" aria-label="Market valuations">
<li v-for="valuation in valuations" :key="valuation.id">
<li v-for="valuation in valuations" :key="valuation.id" :aria-label="`Market valuation for inventory item ${valuation.inventoryItemId}: $${(valuation.valueMinor / 100).toFixed(2)}, ${valuation.confidence} confidence${valuation.stale ? ', stale' : ''}`">
{{ valuation.inventoryItemId }} · Market value ${{ (valuation.valueMinor / 100).toFixed(2) }}
· {{ valuation.confidence }} confidence ·
{{ valuation.sourceCount }} source{{ valuation.sourceCount === 1 ? "" : "s" }}<span v-if="valuation.stale"> · STALE</span>
</li>
</ul>
<ul v-if="pricingJobs.length" aria-label="Pricing jobs">
<li v-for="job in pricingJobs" :key="job.id">
<li v-for="job in pricingJobs" :key="job.id" :aria-label="`Pricing job ${job.id} for ${job.providerId}: ${job.status}${job.error ? `, ${job.error}` : ''}`">
{{ job.id }} · {{ job.providerId }} · {{ job.status }}<span v-if="job.error"> · {{ job.error }}</span>
<button v-if="job.status === 'FAILED'" class="button button--secondary" type="button" :disabled="isSaving" @click="retryPricingJob(job.id)">Retry job</button>
</li>
+1
View File
@@ -270,6 +270,7 @@ Remaining roadmap areas are approved external provider credentials/adapters, bro
- Admin navigation now includes a keyboard-visible skip link to the main content region, with Storybook interaction coverage.
- Admin inventory bulk archive, pricing refresh, tag, and retry actions now announce successful outcomes through a polite live region.
- Admin inventory action announcements now have Storybook interaction coverage verifying the live-region contract.
- Admin inventory valuation and pricing-job results now expose explicit screen-reader labels with item or job identity and state.
## Local Commands