Skip to content

Commit 415faec

Browse files
committed
style(frontend/plans): use unicode escapes for filter-icon + em-dash
Matches the canonical recommendations.ts wiring exactly (⛛ filter icon, — em-dash inside the aria-label). Keeps the rendered DOM identical to the Opportunities tab so the two surfaces are indistinguishable at the screen-reader and visual layers. No behavioural change.
1 parent bc579eb commit 415faec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎frontend/src/plans.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ function renderPlannedPurchasesInternal(): void {
142142

143143
const filterBtn = (column: state.PlansColumnId, lbl: string): string => {
144144
const active = filters[column] ? ' active' : '';
145-
const label = filters[column] ? `Filter ${lbl} — currently active` : `Filter ${lbl}`;
146-
return `<button type="button" class="column-filter-btn${active}" data-column="${column}" aria-haspopup="dialog" aria-expanded="false" aria-label="${label}" title="${label}">⛛</button>`;
145+
const label = filters[column] ? `Filter ${lbl} \u2014 currently active` : `Filter ${lbl}`;
146+
return `<button type="button" class="column-filter-btn${active}" data-column="${column}" aria-haspopup="dialog" aria-expanded="false" aria-label="${label}" title="${label}">\u26db</button>`;
147147
};
148148

149149
const tbody = filtered.length === 0

0 commit comments

Comments
 (0)