Fix Mintlify accessibility issues: color contrast failure and missing image alt attributes
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Ambito
- accessibility, documentation
Direzione di ricerca
Esegui mint a11y per riprodurre il problema di contrasto e gli attributi mancanti segnalati. Esamina i file MDX elencati nei percorsi manage e self-host interessati e individua la configurazione del tema Mintlify per l’impostazione del colore. L’attività è completata quando tutte le immagini segnalate hanno attributi alt appropriati al contesto, il contrasto dei colori supera il controllo e mint a11y non segnala problemi di accessibilità.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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)
- Lingua principale
- MDX
- Stelle
- 14
- Fork
- 55
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di fosrl/docs
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 55/100
-
docs(kubernetes): add --devel for Pangolin Helm pre-release installsForse già presa @marcschaeferger l’ha presa 73 giorni fa. Aperta
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
Issue on docsAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
Issue simili
-
ai-generated priority: p2 size: s type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
JonathanTSilva/jts-website#92 ·
I maintainer di solito rispondono entro 1 giorno
-
Toast announcer reads a doubled period when a toast's title ends in punctuationForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
vercel-labs/ui#999 ·
I maintainer di solito rispondono entro 1 giorno
-
accessibility bug good first issue priority: medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
Chat ColourAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
permissionlesstech/bitchat#1861 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno