[UI/UX] Improve Dark Mode Contrast and Accessibility for Data Components

Đang mở
#236 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

@Kalpana-chavhan đang làm issue này rồi.

Từ ngày 14/1/2026.

  • #240 của @Kalpana-chavhan — đang mở

Đánh giá

Độ khó
3/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
sass, tailwindcss
Lĩnh vực
accessibility, frontend

Hướng nghiên cứu

Bắt đầu bằng cách xác định các biến CSS/SASS toàn cục hoặc tệp cấu hình Tailwind, sau đó kiểm tra các kiểu ở chế độ tối cho bảng dữ liệu, thẻ, placeholder của ô nhập liệu và các nút hành động chính. Sử dụng Lighthouse hoặc Axe DevTools cùng công cụ “Inspect Element” của trình duyệt để đo độ tương phản. Công việc được xem là hoàn tất khi các thành phần được liệt kê đáp ứng các kiểm tra độ tương phản được yêu cầu và vẫn dễ đọc khi chuyển đổi giữa chế độ sáng và chế độ tối.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Issue Description

Description

While the application supports a dark theme, several UI elements (specifically data tables, cards, and input placeholders) lack sufficient color contrast. This makes the interface difficult to read for users with visual impairments and creates an inconsistent aesthetic experience when switching themes.


Impact

Improving color contrast ensures the project meets WCAG 2.1 accessibility standards. It makes the platform more inclusive and reduces eye strain for developers working in low-light environments.


Proposed Changes

I propose a "UI Polish" pass to fix the following specific areas:

  • Placeholder Contrast: Increase the contrast ratio of text placeholders in input fields (currently too faint in dark mode).
  • Card Borders: Add subtle border-colors to dashboard cards in dark mode to distinguish them from the background.
  • Table Row Hover States: Update the hover effect on data rows so that the highlight color doesn't "wash out" the text.
  • Accessibility Check: Ensure all primary action buttons maintain a contrast ratio of at least 4.5:1 against the background.

Technical Implementation Suggestion
  • Locate the global CSS/SASS variables or the Tailwind configuration file.
  • Adjust the hex or rgba values for dark-mode specific tokens (e.g., --bg-card-dark, --text-placeholder-dark).
  • Use a tool like the "Lighthouse" Chrome extension or "Axe DevTools" to identify specific elements with low contrast and fix them.

Verification Plan
  • Use the browser's "Inspect Element" tool to verify the contrast ratio of updated elements.
  • Toggle between Light and Dark modes to ensure no "flicker" of unstyled content or hard-to-read text remains.
Ngôn ngữ chính
Python
Star
103
Fork
143
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của AOSSIE-Org/Devr.AI

Tất cả issue của AOSSIE-Org/Devr.AI

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.