Skip to content

[Feat/468] 카드 컴포넌트 레이아웃 및 태그 스타일 수정#468

Merged
MrMirror21 merged 14 commits into
devfrom
feat/468
Aug 7, 2025
Merged

[Feat/468] 카드 컴포넌트 레이아웃 및 태그 스타일 수정#468
MrMirror21 merged 14 commits into
devfrom
feat/468

Conversation

@SEO-HAN

@SEO-HAN SEO-HAN commented Aug 7, 2025

Copy link
Copy Markdown
Contributor

Related issue 🛠

Work Description ✏️

카드 컴포넌트 간 레이아웃 불일치 및 태그 스타일 상이 이슈가 있어, 전체 카드 UI를 기준에 맞춰 통일했습니다.
(카드 컴포넌트 레이아웃 구조를 통일하고, Tag 스타일 조정 및 적용)
• HomePostCard, HomeCareerPostCard, EmployeeCard : 이미지 및 텍스트 정렬, 레이아웃 통일
• EmployeeCard: 상단 정보 정렬 및 padding 수정
• Tag: rounded 값 및 spacing 일괄 정비 (디자인 시스템 반영)

Uncompleted Tasks 😅

N/A

To Reviewers 📢

Summary by CodeRabbit

  • Style

    • 카드 및 태그 컴포넌트의 패딩, 폰트 크기, 폰트 굵기, 테두리 반경 등 스타일이 전반적으로 개선되었습니다.
    • 이미지 및 텍스트 영역의 레이아웃이 정교하게 조정되어 카드의 시각적 완성도가 높아졌습니다.
    • 태그와 구분선, 배경, 정렬 등 세부적인 UI 요소의 디자인이 일관성 있게 변경되었습니다.
  • Refactor

    • 이미지 및 텍스트 구조가 재구성되어 가독성과 유지보수성이 향상되었습니다.
    • 불필요한 텍스트 및 복잡한 레이아웃이 간소화되었습니다.

SEO-HAN added 11 commits August 1, 2025 17:11
- 이미지와 컨텐츠 영역 래핑 구조 추가
- 이미지 사이즈 조정
- 이미지 border 오버레이 처리 및 색상 opacity 적용
- 제목 영역 line-clamp-2 적용 및 1줄 대응을 위한 max-height 조정
- 구분선 w-px divider 구조로 변경
- 이미지 및 전체 레이아웃 구조 통일
- 텍스트 영역 구조 통일
isRounded 가 false일 시 rounded-md, true일 시 rounded-lg 가 통합 적용되도록 수정 (Tag 컴포넌트가 사용된 모든 코드 확인완료함)
@coderabbitai

coderabbitai Bot commented Aug 7, 2025

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

이 변경 사항들은 여러 카드형 UI 컴포넌트의 스타일과 레이아웃을 개선하는 데 집중되어 있습니다. 주요 변경점은 패딩, 폰트 스타일, 테두리 반경, 이미지 컨테이너 구조, 텍스트 정렬 및 태그 스타일링의 일관성 향상입니다. 기능적 로직이나 이벤트 처리에는 변화가 없습니다.

Changes

Cohort / File(s) Change Summary
Application/Employer Applicant Status Tag 스타일
src/components/Application/ApplicationPostCard.tsx, src/components/Employer/ApplicantList/EmployerApplicantCard.tsx
지원 상태를 나타내는 Tag 컴포넌트의 패딩이 "px-1 py-[0.188rem]"에서 "px-[0.313rem] py-[0.188rem]"로, 폰트 스타일이 "caption-12-regular"에서 "caption-11-semibold"로 변경되었습니다. 배경색은 하드코딩된 색상에서 의미 기반 색상 토큰(bg-status-success/10, bg-status-error/10)으로 변경되었습니다. 모든 상태 케이스에 동일하게 적용되었으며, 로직 변경은 없습니다.
공통 Tag 컴포넌트 반경
src/components/Common/Tag.tsx
Tag 컴포넌트의 테두리 반경 클래스가 isRounded 여부에 따라 rounded/rounded-sm에서 rounded-lg/rounded-md로 변경되었습니다.
직원 카드 레이아웃 및 스타일
src/components/Common/EmployeeCard/EmployeeCard.tsx
horizontal variant의 Tag 컴포넌트 패딩 증가, vertical variant의 카드 폭 증가(9.063rem → 9.5rem), 프로필 이미지가 <img>에서 CSS 배경 이미지 div로 변경 및 오버레이 보더 추가, fallback "No Image" 스타일 단순화, 텍스트 섹션 구조 재조정 및 타이포그래피 변경, 비자 태그 패딩 및 폰트 스타일 변경, 북마크 컴포넌트 위치 조정 등 레이아웃과 스타일이 전반적으로 개선되었습니다. 기능적 변경은 없습니다.
채용 공고 카드 스타일
src/components/Common/JobPostingCard.tsx
CardDeadLineTag의 Tag 패딩 증가 및 배경색을 의미 기반 색상 토큰으로 변경, 폰트 스타일 변경, CardHeader의 정렬 방식 변경 및 북마크 아이콘 위치 조정, CardCompanyInfo 텍스트 스타일과 정렬 변경, 구분자(span) 스타일을 선에서 점으로 변경, CardVisaCardWorkDayInfo 텍스트 스타일 및 정렬 변경, CardTagList 태그 패딩과 폰트 스타일 변경, 두 번째 태그 배경색과 텍스트 색상 변경 등 다양한 스타일링 조정이 이루어졌습니다. 로직 변경은 없습니다.
홈(메인) 카드 스타일
src/components/Home/HomeCareerPostCard.tsx, src/components/Home/HomePostCard.tsx
카드 컨테이너 폭 증가(9.063rem → 9.5rem), 이미지 컨테이너를 상대/절대 위치와 오버레이 보더 구조로 재구성, 이미지 높이 증가(6.75rem → 7.125rem), fallback 이미지 컨테이너 구조 변경, 텍스트 영역을 flex 컬럼으로 재구성 및 타이포그래피와 간격 조정, 구분자 스타일 변경(선에서 점 또는 세로 막대로), 태그 영역의 패딩 및 반경 조정, 폰트 스타일 변경 등이 포함되어 있습니다. 핵심 로직과 데이터 사용에는 변화가 없습니다.
기타 UI 텍스트 색상 및 README 추가
src/components/Application/ApplicationCardList.tsx, README.md
ApplicationCardList 내 "No results found" 메시지와 본문 텍스트 색상을 하드코딩된 색상에서 의미 기반 텍스트 색상 클래스로 변경하였고, README.md에 "DeepWiki" 섹션이 추가되어 프로젝트 관련 링크가 포함되었습니다.

Sequence Diagram(s)

(생성할 만한 주요 제어 흐름 변화가 없으므로 생략합니다.)

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~15–20 minutes

Possibly related PRs

  • [Feat/468] 카드 컴포넌트 레이아웃 및 태그 스타일 수정 #468: ApplicationPostCard.tsxrenderStatusBar 함수의 태그 패딩 및 폰트 스타일 변경과 직접적으로 관련된 PR입니다.
  • Merge to main #239: ApplicationPostCard 및 관련 UI 컴포넌트의 전반적인 스타일링과 레이아웃 개선과 관련된 PR로, 본 PR과 코드 수준에서 연관성이 높습니다.
  • Merge to Main #275: ApplicationPostCard 컴포넌트 내 태그 스타일링 변경과 관련, 본 PR은 스타일 변경에 집중하며 #275는 이벤트 핸들러 추가 변경을 포함하여 컴포넌트 레벨에서 관련성이 있으나 코드 및 로직 변경 부분은 다릅니다.

Suggested labels

🎨 Html&CSS

Note

⚡️ Unit Test Generation is now available in beta!

Learn more here, or try it out under "Finishing Touches" below.


📜 Recent review details

Configuration used: .coderabbit.yml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 3134930 and 89cce48.

📒 Files selected for processing (8)
  • README.md (1 hunks)
  • src/components/Application/ApplicationCardList.tsx (1 hunks)
  • src/components/Application/ApplicationPostCard.tsx (1 hunks)
  • src/components/Common/EmployeeCard/EmployeeCard.tsx (3 hunks)
  • src/components/Common/JobPostingCard.tsx (7 hunks)
  • src/components/Employer/ApplicantList/EmployerApplicantCard.tsx (2 hunks)
  • src/components/Home/HomeCareerPostCard.tsx (1 hunks)
  • src/components/Home/HomePostCard.tsx (1 hunks)
✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/468

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions

github-actions Bot commented Aug 7, 2025

Copy link
Copy Markdown

✅ Vitest Test Results

**Status:** ALL TESTS PASSED
**Runtime:** 2.41s

### 📊 Test Summary
```
Test Files: 22 files
Total:      177 tests
Passed:     177 tests
Failed:     0 tests
Skipped:    0 tests
```

📉 Coverage Warnings

⚠️ Lines coverage is below 80% (0%)
⚠️ Functions coverage is below 80% (0%)
⚠️ Branches coverage is below 80% (0%)
⚠️ Statements coverage is below 80% (0%)

🎉 All tests passed!

Great job! All 177 tests are working correctly across 22 test files.

🔗 Quick Actions

  • [🧪 Run tests locally](pnpm test)
  • [📊 Run coverage locally](pnpm test:coverage)
  • [🎨 Open Vitest UI](pnpm test:ui)
  • ⚙️ View workflow logs

🤖 Generated by GitHub Actions at 2025-08-07T11:17:51.950Z

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

📜 Review details

Configuration used: .coderabbit.yml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 913a5dc and 3134930.

📒 Files selected for processing (7)
  • src/components/Application/ApplicationPostCard.tsx (1 hunks)
  • src/components/Common/EmployeeCard/EmployeeCard.tsx (1 hunks)
  • src/components/Common/JobPostingCard.tsx (7 hunks)
  • src/components/Common/Tag.tsx (1 hunks)
  • src/components/Employer/ApplicantList/EmployerApplicantCard.tsx (1 hunks)
  • src/components/Home/HomeCareerPostCard.tsx (1 hunks)
  • src/components/Home/HomePostCard.tsx (1 hunks)
🔇 Additional comments (17)
src/components/Common/Tag.tsx (1)

30-30: 태그 컴포넌트의 둥근 모서리 스타일이 적절히 개선되었습니다.

rounded/rounded-sm에서 rounded-lg/rounded-md로의 변경으로 더 일관된 디자인 시스템을 제공합니다.

src/components/Employer/ApplicantList/EmployerApplicantCard.tsx (1)

13-64: 상태 표시 태그들의 스타일이 일관되게 개선되었습니다.

모든 지원 상태에서 패딩(px-[5px] py-[3px])과 폰트 스타일(caption-11-semibold)이 통일되어 더 나은 시각적 일관성을 제공합니다.

src/components/Application/ApplicationPostCard.tsx (1)

11-62: 지원서 상태 태그의 스타일 통일이 잘 적용되었습니다.

모든 지원 단계에서 동일한 패딩과 폰트 스타일을 적용하여 UI 일관성을 향상시켰습니다.

src/components/Home/HomeCareerPostCard.tsx (2)

29-29: 카드 너비가 픽셀 기반으로 표준화되었습니다.

rem 기반에서 고정 픽셀(152px)로 변경하여 다른 카드 컴포넌트들과 일관성을 유지합니다.


61-72: 태그 영역의 스타일이 디자인 시스템에 맞게 개선되었습니다.

패딩과 폰트 스타일 변경(caption-11-semibold, py-[3px] px-[5px])으로 다른 컴포넌트들과 일관성을 유지합니다.

src/components/Common/EmployeeCard/EmployeeCard.tsx (2)

73-73: 세로형 직원 카드의 너비가 표준화되었습니다.

다른 카드 컴포넌트들과 동일한 152px 너비로 통일되어 일관된 레이아웃을 제공합니다.


104-112: 태그 스타일링이 잘 표준화되었습니다.

옵셔널 체이닝 사용과 함께 패딩(py-[3px] px-[5px])과 폰트 스타일(caption-11-semibold)이 다른 컴포넌트들과 일관되게 적용되었습니다.

src/components/Home/HomePostCard.tsx (4)

38-38: 카드 컨테이너 너비 표준화 승인

rem 기반에서 고정 픽셀 너비(152px)로 변경하여 다양한 폰트 크기 설정에서도 일관된 카드 크기를 보장합니다. 디자인 시스템 통일성 측면에서 적절한 변경사항입니다.


41-56: 이미지 컨테이너 구조 개선 승인

이미지 컨테이너가 상대/절대 위치를 활용한 오버레이 테두리 구조로 개선되었습니다. shrink-0 클래스로 이미지 크기 일관성을 보장하고, 고정 픽셀 크기(114px)로 레이아웃 안정성을 확보했습니다. 시각적 완성도는 향상되었으나 DOM 구조가 복잡해진 점을 고려하시기 바랍니다.


57-67: 텍스트 구조 및 스타일링 개선 승인

텍스트 블록이 더 명확한 계층 구조로 재구성되었고, 제목의 텍스트 색상이 강화되어 시각적 계층이 개선되었습니다. 회사명과 주소 구분자를 span 요소의 배경색으로 구현한 방식이 기존 테두리 방식보다 깔끔합니다.


68-94: 태그 스타일링 통일 승인

태그 컴포넌트의 패딩과 폰트 스타일이 일관되게 업데이트되었습니다. caption-11-semibold로 변경하여 가독성을 향상시키고, 패딩 증가로 터치 영역을 개선했습니다. 두 태그 모두 동일한 스타일 규칙을 적용하여 일관성을 유지했습니다.

src/components/Common/JobPostingCard.tsx (6)

59-59: 마감일 태그 스타일 통일 승인

태그의 패딩과 폰트 스타일이 다른 카드 컴포넌트와 일관성 있게 업데이트되었습니다. 픽셀 기반 명시적 패딩 값과 caption-11-semibold 폰트 스타일로 디자인 시스템 통일성을 확보했습니다.

Also applies to: 64-64


82-82: 헤더 정렬 개선 승인

컨테이너 정렬을 items-start로 변경하고 북마크 아이콘에 상단 마진을 추가하여 텍스트와의 시각적 균형을 개선했습니다. 제목 텍스트와 아이콘의 정렬이 더욱 자연스러워졌습니다.

Also applies to: 86-86


101-101: 회사 정보 표시 개선 승인

타이포그래피를 body-14-regular로 업그레이드하여 가독성을 향상시켰고, 구분자를 라인에서 둥근 점(dot)으로 변경하여 더욱 모던한 디자인을 적용했습니다. Flex 정렬로 수직 중앙 정렬도 개선되었습니다.

Also applies to: 103-103


126-126: 비자 정보 타이포그래피 통일 승인

다른 정보 요소들과 일관성 있게 body-14-regular 타이포그래피로 업그레이드하여 전체적인 정보 계층 구조를 개선했습니다.


142-142: 근무일 정보 타이포그래피 통일 승인

정보 컴포넌트들의 일관된 타이포그래피 업그레이드로 전체적인 시각적 통일성과 가독성을 향상시켰습니다.


164-164: 태그 리스트 스타일링 개선 승인

태그 패딩이 명시적 픽셀 값으로 업데이트되고 폰트 굵기가 증가하여 가독성이 향상되었습니다. 두 번째 태그의 배경색을 반투명 파란색으로 변경하여 시각적 차별화를 구현한 점이 우수합니다. 전체적으로 태그의 시각적 prominence가 개선되었습니다.

Also applies to: 169-169, 179-179, 182-184

Comment on lines 78 to 91
<div className="relative w-[152px] h-[114px] overflow-hidden rounded-lg shrink-0">
<div
className="absolute inset-0 bg-cover bg-center"
style={{
backgroundImage: `url(${cardData.profile_img_url})`,
}}
/>
<div className="absolute inset-0 border border-[#8F919D1A] rounded-lg pointer-events-none" />
</div>
) : (
<div className="flex items-center justify-center w-full h-full text-white bg-gradient-to-r from-purple-500 to-pink-500">
No Image
<div className="relative w-[152px] h-[114px] bg-surface-secondary flex items-center justify-center rounded-lg shrink-0">
<div className="absolute inset-0 border border-[#8F919D1A] rounded-lg pointer-events-none" />
</div>
)}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

이미지 렌더링 방식 개선과 접근성 고려가 필요합니다.

background-image 방식으로 변경하여 더 나은 스타일 제어가 가능하지만, 접근성을 위한 적절한 대안 텍스트 제공이 필요합니다.

접근성 개선을 위해 다음과 같이 수정하세요:

  <div className="relative w-[152px] h-[114px] overflow-hidden rounded-lg shrink-0">
    <div
      className="absolute inset-0 bg-cover bg-center"
      style={{
        backgroundImage: `url(${cardData.profile_img_url})`,
      }}
+     role="img"
+     aria-label={`${cardData.name}의 프로필 이미지`}
    />
    <div className="absolute inset-0 border border-[#8F919D1A] rounded-lg pointer-events-none" />
  </div>
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<div className="relative w-[152px] h-[114px] overflow-hidden rounded-lg shrink-0">
<div
className="absolute inset-0 bg-cover bg-center"
style={{
backgroundImage: `url(${cardData.profile_img_url})`,
}}
/>
<div className="absolute inset-0 border border-[#8F919D1A] rounded-lg pointer-events-none" />
</div>
) : (
<div className="flex items-center justify-center w-full h-full text-white bg-gradient-to-r from-purple-500 to-pink-500">
No Image
<div className="relative w-[152px] h-[114px] bg-surface-secondary flex items-center justify-center rounded-lg shrink-0">
<div className="absolute inset-0 border border-[#8F919D1A] rounded-lg pointer-events-none" />
</div>
)}
<div className="relative w-[152px] h-[114px] overflow-hidden rounded-lg shrink-0">
<div
className="absolute inset-0 bg-cover bg-center"
style={{
backgroundImage: `url(${cardData.profile_img_url})`,
}}
role="img"
aria-label={`${cardData.name}의 프로필 이미지`}
/>
<div className="absolute inset-0 border border-[#8F919D1A] rounded-lg pointer-events-none" />
</div>
🤖 Prompt for AI Agents
In src/components/Common/EmployeeCard/EmployeeCard.tsx around lines 78 to 91,
the profile image is rendered using a background-image style which lacks
accessibility support. To fix this, replace the background-image div with an img
element that includes an appropriate alt attribute for screen readers. This
change ensures the image is accessible while maintaining the existing styles and
layout.

Comment on lines +33 to +47
{careerData.img_urls && careerData.img_urls.length > 0 ? (
<div className="relative w-[152px] h-[114px] overflow-hidden rounded-lg shrink-0">
<div
className="absolute inset-0 bg-cover bg-center"
style={{
backgroundImage: `url(${careerData.img_urls[0]})`,
}}
/>
<div className="absolute inset-0 border border-[#8F919D1A] rounded-lg pointer-events-none" />
</div>
) : (
<div className="relative w-[152px] h-[114px] bg-surface-secondary flex items-center justify-center rounded-lg shrink-0">
<div className="absolute inset-0 border border-[#8F919D1A] rounded-lg pointer-events-none" />
</div>
)}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

이미지 컨테이너 구조가 개선되었지만 접근성을 고려해주세요.

background-image 방식으로 변경하여 더 나은 스타일링 제어가 가능하지만, 스크린 리더 사용자를 위한 alt 텍스트가 누락되었습니다.

다음과 같이 접근성을 개선할 수 있습니다:

  <div className="relative w-[152px] h-[114px] overflow-hidden rounded-lg shrink-0">
    <div
      className="absolute inset-0 bg-cover bg-center"
      style={{
        backgroundImage: `url(${careerData.img_urls[0]})`,
      }}
+     role="img"
+     aria-label={`${careerData.title} 커리어 이미지`}
    />
    <div className="absolute inset-0 border border-[#8F919D1A] rounded-lg pointer-events-none" />
  </div>
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
{careerData.img_urls && careerData.img_urls.length > 0 ? (
<div className="relative w-[152px] h-[114px] overflow-hidden rounded-lg shrink-0">
<div
className="absolute inset-0 bg-cover bg-center"
style={{
backgroundImage: `url(${careerData.img_urls[0]})`,
}}
/>
<div className="absolute inset-0 border border-[#8F919D1A] rounded-lg pointer-events-none" />
</div>
) : (
<div className="relative w-[152px] h-[114px] bg-surface-secondary flex items-center justify-center rounded-lg shrink-0">
<div className="absolute inset-0 border border-[#8F919D1A] rounded-lg pointer-events-none" />
</div>
)}
{careerData.img_urls && careerData.img_urls.length > 0 ? (
<div className="relative w-[152px] h-[114px] overflow-hidden rounded-lg shrink-0">
<div
className="absolute inset-0 bg-cover bg-center"
style={{
backgroundImage: `url(${careerData.img_urls[0]})`,
}}
role="img"
aria-label={`${careerData.title} 커리어 이미지`}
/>
<div className="absolute inset-0 border border-[#8F919D1A] rounded-lg pointer-events-none" />
</div>
) : (
<div className="relative w-[152px] h-[114px] bg-surface-secondary flex items-center justify-center rounded-lg shrink-0">
<div className="absolute inset-0 border border-[#8F919D1A] rounded-lg pointer-events-none" />
</div>
)}
🤖 Prompt for AI Agents
In src/components/Home/HomeCareerPostCard.tsx around lines 33 to 47, the image
container uses a background-image style which lacks alt text for screen readers,
reducing accessibility. To fix this, replace the background-image div with an
img element or add an aria-label or role="img" with descriptive text on the
container div to provide meaningful alternative text for screen readers,
ensuring the image content is accessible.

@MrMirror21 MrMirror21 added 📄 Docs Improvements or additions to documentation 🎨 Html&CSS Markup & Styles labels Aug 7, 2025
@MrMirror21 MrMirror21 added this to Giggle Aug 7, 2025
@MrMirror21 MrMirror21 merged commit 52f7048 into dev Aug 7, 2025
2 of 3 checks passed
@github-project-automation github-project-automation Bot moved this to Done in Giggle Aug 7, 2025
@SEO-HAN SEO-HAN deleted the feat/468 branch August 8, 2025 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📄 Docs Improvements or additions to documentation 🎨 Html&CSS Markup & Styles

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants