-
Notifications
You must be signed in to change notification settings - Fork 1
๐ ๏ธ Refactor: ์น ์ ๊ทผ์ฑ ๊ฐํ (ARIA ์์ฑ ๋ฐ ์๋งจํฑ ๊ตฌ์กฐ ๊ฐ์ ) #99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -45,12 +45,17 @@ export default function EventPage() { | |
| <main className='w-full pt-[6.3rem] flex flex-col items-center'> | ||
| {/* ๋ ์ง ์ ํ */} | ||
| <div className='w-full mt-[3.7rem] flex justify-start'> | ||
| {/* ์คํฌ๋ฆฐ๋ฆฌ๋๊ฐ โ๋ ์ง ์ ํโ์ผ๋ก ์ฝํ๋๋ก ์ถ๊ฐ */} | ||
| <label htmlFor="event-date" className="sr-only"> | ||
| ํ์ฌ ๋ ์ง ์ ํ | ||
| </label> | ||
| <DatePicker value={date} onChange={setDate} /> | ||
|
||
| </div> | ||
|
|
||
| {/* ํ์ฌ์นด๋ & ๋นํ๋ฉด */} | ||
| {filteredEvents.length > 0 ? ( | ||
| <section | ||
| aria-label="์ด๋ฒคํธ ๋ชฉ๋ก" | ||
| className={cn( | ||
| 'grid w-full mt-[1.4rem]', | ||
| 'grid-cols-2 gap-x-[1.4rem] gap-y-[1.4rem]', | ||
|
|
@@ -74,7 +79,11 @@ export default function EventPage() { | |
| ))} | ||
| </section> | ||
| ) : ( | ||
| <div className='flex flex-col items-center justify-center text-center mt-[15rem]'> | ||
| <div | ||
| className='flex flex-col items-center justify-center text-center mt-[15rem]' | ||
| role='status' | ||
| aria-live='polite' | ||
| > | ||
| <Icon name='Stamp' size={120} color='gray-200' /> | ||
| <h2 className='text-headline-lg-serif text-gray-700 mt-[5rem]'> | ||
| Ooops! | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.