Skip to content

Commit b759e96

Browse files
authored
Merge pull request #46 from DeveloperBlog-Devflow/feature/til-manage-page
fix: style 오타 수정 및 aria-label 추가
2 parents 9148254 + dbbb8d8 commit b759e96

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

components/tils/ToolBar.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const ToolBar = ({ items, onChangeSort, searchTerm, onSearch }: Props) => {
1616
{/* SearchBar */}
1717
<div className="rounded-2xl border-2 border-[#C9D0FF] bg-white/40 px-6 py-4">
1818
<input
19+
aria-label="검색어"
1920
placeholder="검색어를 입력하세요"
2021
className="max-w-full bg-transparent text-lg font-semibold text-black/70 outline-none placeholder:text-black/35"
2122
value={searchTerm}
@@ -27,13 +28,14 @@ const ToolBar = ({ items, onChangeSort, searchTerm, onSearch }: Props) => {
2728
<div className="mt-10 flex items-center justify-between">
2829
<span className="text-primary text-sm font-bold">
2930
{items.length}
30-
<span className="test-sm text-text-sub font-medium">의 검색결과</span>
31+
<span className="text-text-sub text-sm font-medium">의 검색결과</span>
3132
</span>
3233

3334
<div className="relative">
3435
<select
3536
className="appearance-none rounded-md border border-black/30 bg-white px-4 py-2 pr-10 text-sm font-medium shadow-sm outline-none"
3637
onChange={onChangeSort}
38+
aria-label="정렬"
3739
>
3840
<option value="latest">최신순</option>
3941
<option value="oldest">오래된순</option>

0 commit comments

Comments
 (0)