Skip to content

Commit 862d9ca

Browse files
committed
fix: 불필요한 aria-label 삭제
1 parent 35303fb commit 862d9ca

File tree

21 files changed

+3
-41
lines changed

21 files changed

+3
-41
lines changed

src/pages/Admin/Filtering.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ export default function FilteringManage() {
4141
onClick={() => {
4242
setAddInputShow(true);
4343
}}
44-
aria-label="추가하기"
4544
>
4645
<AddIcon className="h-4 w-4" />
4746
</button>

src/pages/Admin/RollingPaper.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ export default function AdminRollingPaper() {
3939
type="button"
4040
className="ml-auto flex items-center gap-2 rounded-md text-black"
4141
onClick={() => setActiveModal(true)}
42-
aria-label='롤링페이퍼 생성하기'
4342
>
4443
<AddIcon />
4544
롤링페이퍼 생성

src/pages/Admin/components/AddRollingPaperModal.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,10 @@ export default function AddRollingPaperModal({ currentPage, onClose }: AddRollin
6464
type="button"
6565
className="secondary-btn text-gray-80 body-m flex-1 basis-1/2 px-3 py-2"
6666
onClick={onClose}
67-
aria-label="취소하기"
6867
>
6968
취소하기
7069
</button>
71-
<button
72-
type="submit"
73-
className="primary-btn body-m flex-1 basis-1/2 px-3 py-2"
74-
aria-label="생성하기"
75-
>
70+
<button type="submit" className="primary-btn body-m flex-1 basis-1/2 px-3 py-2">
7671
생성하기
7772
</button>
7873
</section>

src/pages/Admin/components/ReportHandlingModal.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ export default function ReportHandlingModal({
5454
onClick={() => {
5555
setHandleModalOpen(false);
5656
}}
57-
aria-label="취소"
5857
>
5958
취소
6059
</button>
@@ -67,7 +66,6 @@ export default function ReportHandlingModal({
6766
handleDeleteList(selectedReportId);
6867
setHandleModalOpen(false);
6968
}}
70-
aria-label="전송"
7169
>
7270
전송
7371
</button>

src/pages/Admin/components/Sidebar.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,7 @@ export default function Sidebar() {
5454
</div>
5555
))}
5656
</section>
57-
<button
58-
className="mt-auto flex w-full items-center gap-3 px-5 py-3 hover:bg-amber-100"
59-
aria-label="로그아웃"
60-
>
57+
<button className="mt-auto flex w-full items-center gap-3 px-5 py-3 hover:bg-amber-100">
6158
<AlarmIcon className="text-gray-80 h-5 w-5" />
6259
<span className="text-gray-80 body-l-m" onClick={() => logout()}>
6360
로그아웃

src/pages/Home/components/ShowShareAccessModal.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ const ShowShareAccessModal = ({ onClose }: ShowShareAccessModalProps) => {
7575
className="text-gray-80 body-m flex h-10 w-full items-center justify-between gap-1 rounded-lg bg-white p-3"
7676
key={proposal.shareProposalId}
7777
onClick={() => handleNavigation(proposal.shareProposalId)}
78-
aria-label="따숨님의 공유 요청"
7978
>
8079
<p>{proposal.requesterZipCode}님의 공유 요청</p>
8180
</button>

src/pages/LetterBoxDetail/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,6 @@ const LetterBoxDetailPage = () => {
210210
type="button"
211211
className="body-sb text-gray-60 mt-auto text-left underline dark:text-white"
212212
onClick={() => setIsOpenDisConnectModal(true)}
213-
aria-label="더 이상 편지하지 않을래요"
214213
>
215214
더 이상 편지하지 않을래요
216215
</button>
@@ -223,7 +222,6 @@ const LetterBoxDetailPage = () => {
223222
className="body-m primary-btn w-full py-2 text-black"
224223
disabled={selected.length === 0}
225224
onClick={() => setIsOpenShareModal(true)}
226-
aria-label="공유하기"
227225
>
228226
공유하기
229227
</button>

src/pages/MyPage/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ const MyPage = () => {
152152
onClick={() => {
153153
logout();
154154
}}
155-
aria-label="로그아웃"
156155
>
157156
로그아웃
158157
</button>
@@ -164,7 +163,6 @@ const MyPage = () => {
164163
onClick={async () => {
165164
setIsOpenModal(true);
166165
}}
167-
aria-label="탈퇴하기"
168166
>
169167
탈퇴하기
170168
</button>

src/pages/NotFound/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ export default function index() {
2222
onClick={() => {
2323
navigate(`/`);
2424
}}
25-
aria-label="집으로 돌아가기"
2625
>
2726
집으로 돌아가기
2827
</button>

src/pages/Notifications/components/SendingModal.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ export default function SendingModal({
3232
<button
3333
className="body-b mt-3 flex items-center justify-center"
3434
onClick={() => navigate('/')}
35-
aria-label="홈 화면으로 이동"
3635
>
3736
홈 화면으로 이동 {'>'}
3837
</button>

0 commit comments

Comments
 (0)