Fix Mintlify accessibility issues: color contrast failure and missing image alt attributes
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 48/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
調査の方向性
mint a11y を実行して、報告されたコントラストの失敗と不足している属性を再現します。影響を受ける manage および self-host パスにある、一覧に記載された MDX ファイルを確認し、色設定の Mintlify テーマ設定を見つけます。完了とは、報告されたすべての画像にコンテキストに適した alt 属性があり、色のコントラストがチェックに合格し、mint a11y がアクセシビリティの問題を報告しないことです。
索引モデルが issue の本文から書いたものです。
説明
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)
- 主要言語
- MDX
- スター
- 14
- フォーク
- 55
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
fosrl/docs のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 55/100
-
docs(kubernetes): add --devel for Pangolin Helm pre-release installs対応中かも @marcschaeferger が 73 日前に担当しました。 オープン
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
Issue on docsオープン
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
似ている issue
-
ai-generated priority: p2 size: s type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
JonathanTSilva/jts-website#92 ·
メンテナーはふだん 1 日以内に返信
-
Toast announcer reads a doubled period when a toast's title ends in punctuation対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
vercel-labs/ui#999 ·
メンテナーはふだん 1 日以内に返信
-
accessibility bug good first issue priority: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
-
Chat Colourオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
permissionlesstech/bitchat#1861 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信