PredictionPanel's 3-segment 예측 기간 control (15일/30일/1년) was the last segmented control without aria-pressed after slice (n)'s audit. It carried the visual "pressed" state via className branch but no ARIA attribute, so screen-reader users got no announcement of the current selection. Also tighten type="button" to prevent default form submission semantics — the buttons live outside <form> here, but explicit type is canonical for non-submit buttons. Visual styling kept as-is. The slightly heavier active token (bg-zinc-700 solid, px-3 py-1) vs the chart-toolbar canonical (border-zinc-600 bg-zinc- 800/80, px-2 py-0.5) is intentional: these presets live in the card body next to a primary rose-600 execute button and need more visual weight than toolbar toggles. Comment documents the reasoning.
7.4 KiB
7.4 KiB