Fix Mintlify accessibility issues: color contrast failure and missing image alt attributes

Offen
#116 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

@anjan713 arbeitet bereits daran.

Seit 13.7.2026.

  • #134 von @anjan713 — offen

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Dokumentation
Klarheit
Größtenteils klar
Aktivitätsstatus
Ruhig

Rechercherichtung

Führen Sie mint a11y aus, um den gemeldeten Kontrastfehler und die fehlenden Attribute zu reproduzieren. Überprüfen Sie die aufgeführten MDX-Dateien in den betroffenen manage- und self-host-Pfaden und suchen Sie die Mintlify-Theme-Konfiguration für die Farbeinstellung. Die Aufgabe ist abgeschlossen, wenn alle gemeldeten Bilder kontextgerechte alt-Attribute haben, der Farbkontrast die Prüfung besteht und mint a11y keine Probleme mit der Barrierefreiheit meldet.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Summary

(Fully generated by AI. Providing only the mint a11y output to AI)

Running mint a11y reports the following::

  1. One color accessibility contrast issue in the Mintlify theme configuration
  2. 26 missing alt attributes 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)
Vorherrschende Sprache
MDX
Sterne
14
Forks
55
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

  • Enthält ein Dockerfile oder eine Docker-Compose-Datei
  • Keine Pull-Request-Vorlage
  • Kein Beitragsleitfaden

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus fosrl/docs

Alle Issues in fosrl/docs

Ähnliche Issues

Weitere Issues zu Accessibility

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.