Fix Mintlify accessibility issues: color contrast failure and missing image alt attributes
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Documentación
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Área
- accessibility, documentation
Línea de trabajo
Ejecuta mint a11y para reproducir el fallo de contraste y los atributos faltantes reportados. Revisa los archivos MDX enumerados en las rutas manage y self-host afectadas, y localiza la configuración del tema de Mintlify para el ajuste de color. La tarea estará terminada cuando todas las imágenes reportadas tengan atributos alt apropiados para el contexto, el contraste de color supere la comprobación y mint a11y no informe de ningún problema de accesibilidad.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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)
- Lenguaje dominante
- MDX
- Estrellas
- 14
- Forks
- 55
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de fosrl/docs
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 55/100
-
docs(kubernetes): add --devel for Pangolin Helm pre-release installsPosiblemente ocupada @marcschaeferger la tomó hace 73 días. Abierto
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
-
Issue on docsAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
Todos los issues de fosrl/docs
Issues similares
-
ai-generated priority: p2 size: s type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
JonathanTSilva/jts-website#92 ·
Los mantenedores suelen responder en 1 día
-
Toast announcer reads a doubled period when a toast's title ends in punctuationPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
vercel-labs/ui#999 ·
Los mantenedores suelen responder en 1 día
-
accessibility bug good first issue priority: medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
-
Chat ColourAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
permissionlesstech/bitchat#1861 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día