Fix Mintlify accessibility issues: color contrast failure and missing image alt attributes
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Lĩnh vực
- accessibility, documentation
Hướng nghiên cứu
Chạy mint a11y để tái hiện lỗi tương phản và các thuộc tính bị thiếu đã được báo cáo. Xem lại các tệp MDX được liệt kê trong các đường dẫn manage và self-host bị ảnh hưởng, đồng thời tìm cấu hình theme Mintlify cho thiết lập màu. Hoàn tất nghĩa là tất cả hình ảnh được báo cáo đều có thuộc tính alt phù hợp với ngữ cảnh, độ tương phản màu vượt qua kiểm tra và mint a11y không báo cáo vấn đề trợ năng nào.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
(Fully generated by AI. Providing only the mint a11y output to AI)
Running mint a11y reports the following::
- One color accessibility contrast issue in the Mintlify theme configuration
- 26 missing
altattributes on image elements across 16 MDX files
These issues should be fixed so the documentation passes Mintlify accessibility checks and provides better support for screen readers and users relying on accessible documentation.
Command
mint a11y
Current result
mint a11y
Checking color accessibility...
Primary Color (#202020) vs Light Background: PASS Excellent contrast ratio: 15.44:1 (meets WCAG AAA)
Light Color (#202020) vs Dark Background: FAIL Poor contrast ratio: 1.22:1 (fails WCAG AA, minimum required: 4.5:1)
Dark Color (#F36117) vs Dark Background: PASS Contrast ratio: 6.19:1 (meets minimum threshold of 3:1)
Dark Color (#F36117) vs Light Background: PASS Contrast ratio: 3.05:1 (meets minimum threshold of 3:1)
Overall Assessment: FAIL Some colors fail accessibility standards and should be updated
Checking mdx files for accessibility issues...
Found 26 accessibility issues in 16 files:
manage/access-control/approvals.mdx:
✗ Missing alt attribute on img element (line 21, col 3)
✗ Missing alt attribute on img element (line 27, col 3)
manage/access-control/create-user.mdx:
✗ Missing alt attribute on img element (line 21, col 3)
manage/access-control/links.mdx:
✗ Missing alt attribute on img element (line 48, col 3)
manage/access-control/login-page.mdx:
✗ Missing alt attribute on img element (line 32, col 3)
✗ Missing alt attribute on img element (line 46, col 3)
manage/analytics/access.mdx:
✗ Missing alt attribute on img element (line 29, col 3)
manage/analytics/action.mdx:
✗ Missing alt attribute on img element (line 29, col 3)
manage/analytics/request.mdx:
✗ Missing alt attribute on img element (line 26, col 3)
manage/analytics/streaming.mdx:
✗ Missing alt attribute on img element (line 29, col 3)
✗ Missing alt attribute on img element (line 37, col 3)
✗ Missing alt attribute on img element (line 46, col 3)
✗ Missing alt attribute on img element (line 50, col 3)
✗ Missing alt attribute on img element (line 56, col 3)
manage/blueprints.mdx:
✗ Missing alt attribute on img element (line 64, col 5)
manage/identity-providers/add-an-idp.mdx:
✗ Missing alt attribute on img element (line 25, col 3)
manage/identity-providers/auto-provisioning.mdx:
✗ Missing alt attribute on img element (line 19, col 3)
✗ Missing alt attribute on img element (line 27, col 3)
✗ Missing alt attribute on img element (line 43, col 3)
✗ Missing alt attribute on img element (line 53, col 3)
✗ Missing alt attribute on img element (line 66, col 3)
manage/identity-providers/azure.mdx:
✗ Missing alt attribute on img element (line 45, col 3)
manage/identity-providers/google.mdx:
✗ Missing alt attribute on img element (line 54, col 3)
manage/identity-providers/openid-connect.mdx:
✗ Missing alt attribute on img element (line 19, col 3)
manage/remote-node/understanding-nodes.mdx:
✗ Missing alt attribute on img element (line 32, col 3)
self-host/advanced/cloudflare-proxy.mdx:
✗ Missing alt attribute on img element (line 146, col 3)
Recommendation: Add alt attributes to all images and videos for better accessibility.
Color accessibility issue
The current light color value has insufficient contrast against the dark background:
Light Color (#202020) vs Dark Background: FAIL
Contrast ratio: 1.22:1
Required minimum: 4.5:1
Missing image alt attributes
mint a11y reports 26 missing alt attributes in 16 files.
Each affected image should receive a meaningful alt attribute that describes the purpose of the image in context. Decorative images, if any, should explicitly use an empty alt attribute only when appropriate.
Affected files
manage/access-control/approvals.mdx
✗ Missing alt attribute on img element (line 21, col 3)
✗ Missing alt attribute on img element (line 27, col 3)
manage/access-control/create-user.mdx
✗ Missing alt attribute on img element (line 21, col 3)
manage/access-control/links.mdx
✗ Missing alt attribute on img element (line 48, col 3)
manage/access-control/login-page.mdx
✗ Missing alt attribute on img element (line 32, col 3)
✗ Missing alt attribute on img element (line 46, col 3)
manage/analytics/access.mdx
✗ Missing alt attribute on img element (line 29, col 3)
manage/analytics/action.mdx
✗ Missing alt attribute on img element (line 29, col 3)
manage/analytics/request.mdx
✗ Missing alt attribute on img element (line 26, col 3)
manage/analytics/streaming.mdx
✗ Missing alt attribute on img element (line 29, col 3)
✗ Missing alt attribute on img element (line 37, col 3)
✗ Missing alt attribute on img element (line 46, col 3)
✗ Missing alt attribute on img element (line 50, col 3)
✗ Missing alt attribute on img element (line 56, col 3)
manage/blueprints.mdx
✗ Missing alt attribute on img element (line 64, col 5)
manage/identity-providers/add-an-idp.mdx
✗ Missing alt attribute on img element (line 25, col 3)
manage/identity-providers/auto-provisioning.mdx
✗ Missing alt attribute on img element (line 19, col 3)
✗ Missing alt attribute on img element (line 27, col 3)
✗ Missing alt attribute on img element (line 43, col 3)
✗ Missing alt attribute on img element (line 53, col 3)
✗ Missing alt attribute on img element (line 66, col 3)
manage/identity-providers/azure.mdx
✗ Missing alt attribute on img element (line 45, col 3)
manage/identity-providers/google.mdx
✗ Missing alt attribute on img element (line 54, col 3)
manage/identity-providers/openid-connect.mdx
✗ Missing alt attribute on img element (line 19, col 3)
manage/remote-node/understanding-nodes.mdx
✗ Missing alt attribute on img element (line 32, col 3)
self-host/advanced/cloudflare-proxy.mdx
✗ Missing alt attribute on img element (line 146, col 3)
- Ngôn ngữ chính
- MDX
- Star
- 14
- Fork
- 55
- 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
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của fosrl/docs
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 55/100
-
docs(kubernetes): add --devel for Pangolin Helm pre-release installsCó thể đã có người làm @marcschaeferger đã nhận 73 ngày trước. Đang mở
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
-
Issue on docsĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
Issue tương tự
-
ai-generated priority: p2 size: s type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
JonathanTSilva/jts-website#92 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Toast announcer reads a doubled period when a toast's title ends in punctuationCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
vercel-labs/ui#999 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
accessibility bug good first issue priority: medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
-
Chat ColourĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
permissionlesstech/bitchat#1861 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày