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

Open Beginner friendly
#5,688 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
64/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp

Research direction

Search the FluentCard image implementation for the .fluent-image-item element and inspect how its attributes are set. Reproduce the reported accessibility failure on the Card example, then verify the image has alternative text or an appropriate presentational role.

Written by the indexing model from the issue text.

Description

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
Dominant language
C#
Stars
4.9k
Forks
497
Avg merge
1d 1h
Merged PRs (30d)
47

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/fluentui-blazor

All issues in microsoft/fluentui-blazor

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.