gsxdsm
81fbb656ac
FN-7613: fix confirm Yes/No button selected-state visibility
Fix confirm Yes/No selected-state visibility in chat questions and add aria-pressed accessibility support.
- Strengthen CSS specificity for .chat-question-response__confirm--selected so the selected style beats the global .btn/.btn:hover rules, using token-driven --cta-* colors for light/dark themes.
- Add dedicated hover and focus-visible states for the selected confirm button.
- Add aria-pressed to the Yes/No confirm buttons so assistive tech reflects the same selected state.
- Add regression tests covering the selected visual/aria state.
- Add changeset (patch) documenting the fix.
Files changed:
.changeset/fn-7613-confirm-selected-state.md | 7 ++++
.../app/components/ChatQuestionResponse.css | 40 ++++++++++++++++++++--
.../app/components/ChatQuestionResponse.tsx | 8 +++++
.../__tests__/ChatQuestionResponse.test.tsx | 26 ++++++++++++++
4 files changed, 79 insertions(+), 2 deletions(-)
Fusion-Task-Id: FN-7613
Fusion-Task-Lineage: d648044e-ab30-4542-9402-a7bfbfe6563e
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-07-06 19:03:06 -07:00
..
2026-07-05 19:57:09 -07:00
2026-07-05 19:57:09 -07:00
2026-07-05 22:14:22 -07:00
2026-07-06 19:03:06 -07:00
2026-07-05 19:57:09 -07:00
2026-07-05 19:57:09 -07:00
2026-07-06 13:11:45 -07:00
2026-07-05 19:57:09 -07:00
2026-07-05 19:57:09 -07:00
2026-07-05 19:57:09 -07:00
2026-06-08 15:19:27 -07:00
2026-07-05 19:57:09 -07:00