[FluentCard][AI4W]: Ensure <img> elements have alternative text or a role of none or presentation (.fluent-image-item)

Abierto Apto para principiantes
#5,688 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
64/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
csharp

Línea de trabajo

Busca el elemento .fluent-image-item en la implementación de imágenes de FluentCard e inspecciona cómo se establecen sus atributos. Reproduce el fallo de accesibilidad notificado en el ejemplo de Card y, después, verifica que la imagen tenga texto alternativo o un rol de presentación adecuado.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Tags:

#A11yMAS; #MAS1.1.1; #TCS-BIC; #FluentUIBlazor_Web; #Win11; #DesktopWeb; #A11ySev2; CT_FluentUIBlazor_Web_Oct2026; #A11yAuto; #image-alt

Test Environment:

Application Name: fluentui-blazor
OS: Windows 11 [Version 25H2 (OS Build 26200.8457)]
Edge: Version 148.0.3967.70 (Official build) (64-bit)
Test URL: https://fluentui-blazor.net/Nav

Repro Steps:
  1. Launch the URL: https://fluentui-blazor.net/Nav
  2. Search for FluentCard
  3. Open accessibility insights for web and run the fast pass to observe the issue.
Issue:

Ensure elements have alternative text or a role of none or presentation (image-alt - https://accessibilityinsights.io/info-examples/web/image-alt)

Target application:

Card - FluentUI Blazor Components - https://fluentui-blazor.net/Card

Element path:

#f7b249ca6-example-panel > .fluent-card[role="group"] > .fluent-stack-horizontal > fluent-image > .fluent-image-item

Snippet:
How to fix:

Fix any of the following:
Element does not have an alt attribute
aria-label attribute does not exist or is empty
aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
Element has no title attribute
Element's default semantics were not overridden with role="none" or role="presentation"

Environment:

Microsoft Edge version 158.0.0.0

====

This accessibility issue was found using Accessibility Insights for Web 2.49.0 (axe-core 4.11.3), a tool that helps find and fix accessibility issues. Get more information & download this tool at http://aka.ms/AccessibilityInsights.

MAS Reference:

MAS 1.1.1 – Non-text Content

Attachment:
AI4W- image-alt
Lenguaje dominante
C#
Estrellas
4.9k
Forks
497
Merge medio
1 d 1 h
PR fusionados (30 d)
47

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de microsoft/fluentui-blazor

Todos los issues de microsoft/fluentui-blazor

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.