-
diff --git a/src/pages/LetterDetail/components/LetterDetailReplyButton.tsx b/src/pages/LetterDetail/components/LetterDetailReplyButton.tsx
index ed3b160..f2e96b9 100644
--- a/src/pages/LetterDetail/components/LetterDetailReplyButton.tsx
+++ b/src/pages/LetterDetail/components/LetterDetailReplyButton.tsx
@@ -12,7 +12,7 @@ export default function LetterDetailReplyButton({ letterDetail }: LetterDetailRe
navigate(`/letter/write/?letterId=${letterDetail.letterId}`);
}}
disabled={!letterDetail?.matched}
- aria-label="편지 작성하기"
+ aria-label={letterDetail?.matched ? '편지 작성하기' : '대화가 종료된 편지입니다.'}
>
{letterDetail?.matched ? '편지 작성하기' : '대화가 종료된 편지입니다.'}
diff --git a/src/pages/MyPage/index.tsx b/src/pages/MyPage/index.tsx
index e091935..6b268aa 100644
--- a/src/pages/MyPage/index.tsx
+++ b/src/pages/MyPage/index.tsx
@@ -152,7 +152,6 @@ const MyPage = () => {
onClick={() => {
logout();
}}
- aria-label="로그아웃"
>
로그아웃
@@ -164,7 +163,6 @@ const MyPage = () => {
onClick={async () => {
setIsOpenModal(true);
}}
- aria-label="탈퇴하기"
>
탈퇴하기
diff --git a/src/pages/NotFound/index.tsx b/src/pages/NotFound/index.tsx
index e3591e8..ea85100 100644
--- a/src/pages/NotFound/index.tsx
+++ b/src/pages/NotFound/index.tsx
@@ -22,7 +22,6 @@ export default function index() {
onClick={() => {
navigate(`/`);
}}
- aria-label="집으로 돌아가기"
>
집으로 돌아가기
diff --git a/src/pages/Notifications/components/SendingModal.tsx b/src/pages/Notifications/components/SendingModal.tsx
index 329a348..70ff870 100644
--- a/src/pages/Notifications/components/SendingModal.tsx
+++ b/src/pages/Notifications/components/SendingModal.tsx
@@ -32,7 +32,6 @@ export default function SendingModal({
navigate('/')}
- aria-label="홈 화면으로 이동"
>
홈 화면으로 이동 {'>'}
diff --git a/src/pages/Notifications/components/ShareModal.tsx b/src/pages/Notifications/components/ShareModal.tsx
index 8227989..e35bf54 100644
--- a/src/pages/Notifications/components/ShareModal.tsx
+++ b/src/pages/Notifications/components/ShareModal.tsx
@@ -32,7 +32,6 @@ export default function ShareModal({
navigate('/')}
- aria-label="홈 화면으로 이동"
>
홈 화면으로 이동 {'>'}
diff --git a/src/pages/Notifications/index.tsx b/src/pages/Notifications/index.tsx
index b33f6ee..ba19d0a 100644
--- a/src/pages/Notifications/index.tsx
+++ b/src/pages/Notifications/index.tsx
@@ -105,7 +105,6 @@ const NotificationsPage = () => {
onClick={() => {
handlePatchReadNotificationAll();
}}
- aria-label="모두 읽음"
>
모두 읽음
diff --git a/src/pages/Onboarding/SetZipCode.tsx b/src/pages/Onboarding/SetZipCode.tsx
index 874d168..f03e1db 100644
--- a/src/pages/Onboarding/SetZipCode.tsx
+++ b/src/pages/Onboarding/SetZipCode.tsx
@@ -38,7 +38,6 @@ const SetZipCode = ({
onClick={() => {
setIsZipCodeSet(true);
}}
- aria-label="다음으로"
>
다음으로
diff --git a/src/pages/Onboarding/WelcomeLetter.tsx b/src/pages/Onboarding/WelcomeLetter.tsx
index 600de08..49a1716 100644
--- a/src/pages/Onboarding/WelcomeLetter.tsx
+++ b/src/pages/Onboarding/WelcomeLetter.tsx
@@ -30,7 +30,6 @@ export default function index() {
navigate(`/`);
sessionStorage.removeItem('onBoarding');
}}
- aria-label="홈으로 가기"
>
홈으로 가기
diff --git a/src/pages/RandomLetters/components/CoolTime.tsx b/src/pages/RandomLetters/components/CoolTime.tsx
index 420e474..7ba4e31 100644
--- a/src/pages/RandomLetters/components/CoolTime.tsx
+++ b/src/pages/RandomLetters/components/CoolTime.tsx
@@ -70,7 +70,6 @@ export default function CoolTime({
onClick={() => {
navigate('/');
}}
- aria-label="홈으로 돌아가기"
>
홈으로 돌아가기
diff --git a/src/pages/RandomLetters/components/Matched.tsx b/src/pages/RandomLetters/components/Matched.tsx
index 3e58736..68b1324 100644
--- a/src/pages/RandomLetters/components/Matched.tsx
+++ b/src/pages/RandomLetters/components/Matched.tsx
@@ -110,7 +110,7 @@ export default function Matched({
handleDeleteRandomLetterMatching();
}}
disabled={isDisabled}
- aria-label="취소버튼"
+ aria-label={isDisabled ? '취소 시간이 지났습니다.' : '답장 취소하기'}
>
{isDisabled
? '취소 시간이 지났습니다.'
diff --git a/src/pages/RandomLetters/components/MatchedLetter.tsx b/src/pages/RandomLetters/components/MatchedLetter.tsx
index e54546a..9792a10 100644
--- a/src/pages/RandomLetters/components/MatchedLetter.tsx
+++ b/src/pages/RandomLetters/components/MatchedLetter.tsx
@@ -41,7 +41,6 @@ const MatchedLetter = ({ matchedLetter }: { matchedLetter: MatchedLetter }) => {
state: { randomMatched: true, matchedLetter: matchedLetter },
});
}}
- aria-label="편지 작성 버튼"
>
편지 작성하기
diff --git a/src/pages/RandomLetters/components/MatchingSelect.tsx b/src/pages/RandomLetters/components/MatchingSelect.tsx
index 18ca511..bc5658c 100644
--- a/src/pages/RandomLetters/components/MatchingSelect.tsx
+++ b/src/pages/RandomLetters/components/MatchingSelect.tsx
@@ -46,15 +46,9 @@ export default function MatchingSelect({
onClick={() => {
handleGetRandomLetters(selectedCategory);
}}
- aria-label="리스트 새로고침"
>

-
- 리스트 새로고침
-
+
리스트 새로고침
{randomLetters.length === 0 ? (
@@ -67,7 +61,6 @@ export default function MatchingSelect({
navigate('/letter/write')}
- aria-label="작성하러 가기"
>{`작성하러 가기 >`}
@@ -111,7 +104,7 @@ export default function MatchingSelect({
selectedCategory === category.category && 'bg-primary-1 text-white',
)}
key={idx}
- aria-label="카테고리 제목"
+ aria-label={category.title}
>
{category.title}
diff --git a/src/pages/RandomLetters/components/MatchingSelectModal.tsx b/src/pages/RandomLetters/components/MatchingSelectModal.tsx
index 3b71a5b..c7d22c5 100644
--- a/src/pages/RandomLetters/components/MatchingSelectModal.tsx
+++ b/src/pages/RandomLetters/components/MatchingSelectModal.tsx
@@ -45,7 +45,6 @@ function MatchingSelectModal({
onClick={() => {
setOpenModal(false);
}}
- aria-label="거부하기"
>
거부하기
@@ -57,7 +56,6 @@ function MatchingSelectModal({
writerId: `${selectedLetter.writerId}`,
});
}}
- aria-label="승인하기"
>
승인하기
diff --git a/src/pages/RollingPaper/components/CommentDetailModal.tsx b/src/pages/RollingPaper/components/CommentDetailModal.tsx
index 13c5d0a..cdc47d7 100644
--- a/src/pages/RollingPaper/components/CommentDetailModal.tsx
+++ b/src/pages/RollingPaper/components/CommentDetailModal.tsx
@@ -28,7 +28,7 @@ const CommentDetailModal = ({
type="button"
className="body-b ml-auto text-white"
onClick={handleButtonClick}
- aria-label="삭제하기 / 신고하기"
+ aria-label={isWriter ? '삭제하기' : '신고하기'}
>
{isWriter ? '삭제하기' : '신고하기'}
diff --git a/src/pages/RollingPaper/components/WriteCommentButton.tsx b/src/pages/RollingPaper/components/WriteCommentButton.tsx
index 88df5d8..e203c07 100644
--- a/src/pages/RollingPaper/components/WriteCommentButton.tsx
+++ b/src/pages/RollingPaper/components/WriteCommentButton.tsx
@@ -72,7 +72,6 @@ const WriteCommentButton = ({ rollingPaperId }: WriteCommentButtonProps) => {
type="button"
className="sticky bottom-8 z-10 mt-auto -mb-4 self-start overflow-hidden rounded-sm"
onClick={() => setActiveMessageModal(true)}
- aria-label="편지 쓰기"
>
diff --git a/src/pages/Share/index.tsx b/src/pages/Share/index.tsx
index 5d3ace1..ab0fb9a 100644
--- a/src/pages/Share/index.tsx
+++ b/src/pages/Share/index.tsx
@@ -96,7 +96,6 @@ const ShareApprovalPage = () => {
type="button"
className="body-m secondary-btn h-10 flex-1 basis-1/2"
onClick={() => handleProposalApproval('reject')}
- aria-label="거부하기"
>
거부하기
@@ -105,7 +104,6 @@ const ShareApprovalPage = () => {
type="button"
className="primary-btn body-m h-10 flex-1 basis-1/2"
onClick={() => handleProposalApproval('approve')}
- aria-label="승인하기"
>
승인하기
diff --git a/src/pages/Write/CategorySelect.tsx b/src/pages/Write/CategorySelect.tsx
index c16a70b..fd9e86b 100644
--- a/src/pages/Write/CategorySelect.tsx
+++ b/src/pages/Write/CategorySelect.tsx
@@ -99,7 +99,6 @@ export default function CategorySelect({
setToastActive({ title: '카테고리를 선택해주세요.', toastType: 'Warning' });
}
}}
- aria-label="편지 전송"
>
편지 전송