From de542b78edf78c884019429582402b909f0b0691 Mon Sep 17 00:00:00 2001 From: seonghobae <8172694+seonghobae@users.noreply.github.com> Date: Thu, 6 Aug 2026 21:44:56 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20[UX=20improvement]=20?= =?UTF-8?q?=EC=BB=A4=EC=8A=A4=ED=85=80=20=EB=9D=BC=EB=94=94=EC=98=A4=20?= =?UTF-8?q?=EA=B7=B8=EB=A3=B9=20=EC=A0=91=EA=B7=BC=EC=84=B1=20=EA=B0=9C?= =?UTF-8?q?=EC=84=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ๐ก What: `GroupModal`์ ์์ ์ ํ ์ค์์น ๋ฒํผ๋ค์ `role="radio"`์ `aria-checked` ์์ฑ์ ์ถ๊ฐํ๊ณ , ์ด์ ๋ง์ถฐ CSS ์ ํ์์ ํ ์คํธ ์ฟผ๋ฆฌ๋ฅผ ์ ๋ฐ์ดํธํ์ต๋๋ค. ๐ฏ Why: `role="radiogroup"` ๋ด๋ถ์ ์์นํ ์์๋ค์ด ์ ๋ค๋ฆญ ๋ฒํผ(`role="button"`)๊ณผ `aria-pressed`๋ฅผ ์ฌ์ฉํ๊ณ ์์ด ์คํฌ๋ฆฐ ๋ฆฌ๋์ ๊ฐ์ ๋ณด์กฐ ๊ธฐ๊ธฐ์์ ์ฌ๋ฐ๋ฅธ ๋ผ๋์ค ๋ฒํผ ๊ทธ๋ฃน์ผ๋ก ์ธ์๋์ง ์๋ ๋ฌธ์ ๊ฐ ์์์ต๋๋ค. ๐ธ Before/After: ์๊ฐ์ ๋ณ๊ฒฝ ์์. โฟ Accessibility: ๋ผ๋์ค ๊ทธ๋ฃน ๋ด ์์ ์์๋ค์ ์ญํ ์ ๋ช ํํ ํ์ฌ ์ ๊ทผ์ฑ ํธ๋ฆฌ ๊ตฌ์กฐ๋ฅผ ์ฌ๋ฐ๋ฅด๊ฒ ์์ ํ์ต๋๋ค. --- .Jules/palette.md | 4 ++++ frontend/src/components/modals/GroupModal.tsx | 3 ++- frontend/src/components/modals/ModalCoverage.test.tsx | 2 +- frontend/src/styles.css | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.Jules/palette.md b/.Jules/palette.md index 7577a1ca7..6eaa2bf9c 100644 --- a/.Jules/palette.md +++ b/.Jules/palette.md @@ -56,3 +56,7 @@ ## 2024-07-14 - Native Keyboard Submission with Forms for Modals **Learning:** Modals designed with plain `