From e80442d1902e8239d19eb47d214f1cb9e259ef6a Mon Sep 17 00:00:00 2001 From: GimGayeon Date: Mon, 23 Sep 2024 13:53:33 +0900 Subject: [PATCH 1/7] =?UTF-8?q?chore:=20ip=20=EC=A3=BC=EC=86=8C=EB=A1=9C?= =?UTF-8?q?=20=EC=84=9C=EB=B2=84=20=EC=97=B4=20=EC=88=98=20=EC=9E=88?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20vite=20=EC=84=A4=EC=A0=95=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- a11y/vite.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/a11y/vite.config.ts b/a11y/vite.config.ts index 9cc50ea..d8d4e6c 100644 --- a/a11y/vite.config.ts +++ b/a11y/vite.config.ts @@ -4,4 +4,7 @@ import react from "@vitejs/plugin-react"; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], + server: { + host: "0.0.0.0", + }, }); From 1f197629329c30805a67f54b61f70d7266c53639 Mon Sep 17 00:00:00 2001 From: GimGayeon Date: Mon, 23 Sep 2024 13:53:58 +0900 Subject: [PATCH 2/7] =?UTF-8?q?feat:=20index.html=20=EC=97=90=20=ED=95=9C?= =?UTF-8?q?=EA=B5=AD=EC=96=B4=20=EC=84=A4=EC=A0=95=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- a11y/index.html | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/a11y/index.html b/a11y/index.html index 12fa3e7..d875527 100644 --- a/a11y/index.html +++ b/a11y/index.html @@ -1,16 +1,14 @@ - - - - - - - - Accessibility - - - -
- - + + + + + + + Accessibility + + +
+ + From c131e184ffbacfe46dce25c4b5e2c414b3fbb0a3 Mon Sep 17 00:00:00 2001 From: GimGayeon Date: Mon, 23 Sep 2024 14:05:34 +0900 Subject: [PATCH 3/7] =?UTF-8?q?feat:=20App.tsx=20=EC=97=90=20=EC=8B=9C?= =?UTF-8?q?=EB=A7=A8=ED=8B=B1=20=ED=83=9C=EA=B7=B8=20=EC=82=AC=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- a11y/src/App.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/a11y/src/App.tsx b/a11y/src/App.tsx index a8159f9..b8fecc8 100644 --- a/a11y/src/App.tsx +++ b/a11y/src/App.tsx @@ -6,11 +6,11 @@ import FlightBooking from "./components/FlightBooking"; function App() { return (
-
-
+
+
-
-
+ +
); } From ca0859a499a58aea304284506b06707a5d94772d Mon Sep 17 00:00:00 2001 From: GimGayeon Date: Mon, 23 Sep 2024 14:05:59 +0900 Subject: [PATCH 4/7] =?UTF-8?q?feat:=20=EB=B2=84=ED=8A=BC=EC=97=90=20aria-?= =?UTF-8?q?label=20=EC=B6=94=EA=B0=80=ED=95=98=EC=97=AC=20=EC=A0=91?= =?UTF-8?q?=EA=B7=BC=EC=84=B1=20=ED=96=A5=EC=83=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- a11y/src/components/FlightBooking.tsx | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/a11y/src/components/FlightBooking.tsx b/a11y/src/components/FlightBooking.tsx index 313cab3..0ddc0b4 100644 --- a/a11y/src/components/FlightBooking.tsx +++ b/a11y/src/components/FlightBooking.tsx @@ -21,11 +21,19 @@ const FlightBooking = () => {
성인
- {adultCount} -
From e4003d11038d60c9a517249debf3329f21a4b5b5 Mon Sep 17 00:00:00 2001 From: GimGayeon Date: Mon, 23 Sep 2024 14:11:58 +0900 Subject: [PATCH 5/7] =?UTF-8?q?feat:=20aria-live=20=EC=84=A4=EC=A0=95=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=ED=95=98=EC=97=AC=20+,-=20=EB=B2=84=ED=8A=BC?= =?UTF-8?q?=20=ED=81=B4=EB=A6=AD=20=EC=8B=9C=20=EA=B0=B1=EC=8B=A0=EB=90=9C?= =?UTF-8?q?=20=EC=88=98=EB=9F=89=20=EC=95=8C=EB=A0=A4=EC=A3=BC=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=ED=95=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- a11y/src/components/FlightBooking.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/a11y/src/components/FlightBooking.tsx b/a11y/src/components/FlightBooking.tsx index 0ddc0b4..3c519b7 100644 --- a/a11y/src/components/FlightBooking.tsx +++ b/a11y/src/components/FlightBooking.tsx @@ -28,7 +28,7 @@ const FlightBooking = () => { > - - {adultCount} + {adultCount} +
+ {statusMessage} +
From 8ee2a9c108e7af68759ae2648f00025e81ea26a6 Mon Sep 17 00:00:00 2001 From: GimGayeon Date: Mon, 23 Sep 2024 14:26:29 +0900 Subject: [PATCH 7/7] =?UTF-8?q?refactor:=20README.md=20=ED=8C=8C=EC=9D=BC?= =?UTF-8?q?=20=EC=B0=B8=EA=B3=A0=ED=95=98=EC=97=AC=20=EB=A6=AC=ED=8C=A9?= =?UTF-8?q?=ED=86=A0=EB=A7=81=20-=20visually-hidden=20=EC=97=90=EC=84=9C?= =?UTF-8?q?=20css=20overflow=20hidden=20=EC=B6=94=EA=B0=80=20-=20aria-live?= =?UTF-8?q?=20assertive=20->polite=20=EB=A1=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- a11y/src/components/FlightBooking.css | 9 ++++++++- a11y/src/components/FlightBooking.tsx | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/a11y/src/components/FlightBooking.css b/a11y/src/components/FlightBooking.css index 41cb786..5235c41 100644 --- a/a11y/src/components/FlightBooking.css +++ b/a11y/src/components/FlightBooking.css @@ -64,5 +64,12 @@ .visually-hidden { position: absolute; - top: -100rem; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + border: 0; } diff --git a/a11y/src/components/FlightBooking.tsx b/a11y/src/components/FlightBooking.tsx index 6419d10..191534e 100644 --- a/a11y/src/components/FlightBooking.tsx +++ b/a11y/src/components/FlightBooking.tsx @@ -38,7 +38,7 @@ const FlightBooking = () => { > - - {adultCount} + {adultCount}