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

Aperta Adatta ai principianti
#5,688 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
64/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp

Direzione di ricerca

Cerca l’elemento .fluent-image-item nell’implementazione delle immagini di FluentCard e verifica come vengono impostati i suoi attributi. Riproduci il problema di accessibilità segnalato nell’esempio Card, quindi verifica che l’immagine abbia un testo alternativo o un ruolo di presentazione appropriato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
C#
Stelle
4.9k
Fork
497
Merge medio
1g 1h
PR unite (30g)
47

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/fluentui-blazor

Tutte le issue di microsoft/fluentui-blazor

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.