Skip to content

Commit 271436b

Browse files
OneStepAt4timeaegis-gh-agent[bot]
authored andcommitted
fix(a11y): correct duplicate aria-labels in CostPage sections
1 parent d72c82c commit 271436b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

dashboard/src/pages/CostPage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ export default function CostPage() {
395395
{modelData.length > 0 && (
396396
<div className="grid grid-cols-1 gap-4 lg:grid-cols-2">
397397
{/* Pie chart */}
398-
<section className="rounded-lg border border-[var(--color-border-strong)] bg-[var(--color-surface-strong)] p-5" aria-label="Daily spend chart">
398+
<section className="rounded-lg border border-[var(--color-border-strong)] bg-[var(--color-surface-strong)] p-5" aria-label="Cost by model chart">
399399
<h3 className="mb-4 text-lg font-medium text-[var(--color-text-primary)]">
400400
Cost by Model
401401
</h3>
@@ -426,7 +426,7 @@ export default function CostPage() {
426426
</section>
427427

428428
{/* Model list */}
429-
<section className="rounded-lg border border-[var(--color-border-strong)] bg-[var(--color-surface-strong)] p-5" aria-label="Daily spend chart">
429+
<section className="rounded-lg border border-[var(--color-border-strong)] bg-[var(--color-surface-strong)] p-5" aria-label="Model details">
430430
<h3 className="mb-4 text-lg font-medium text-[var(--color-text-primary)]">
431431
Model Details
432432
</h3>

0 commit comments

Comments
 (0)