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

オープン 初心者向け
#5,688 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
64/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
csharp

調査の方向性

FluentCardの画像実装で .fluent-image-item 要素を検索し、その属性がどのように設定されているかを調べてください。Cardの例で報告されたアクセシビリティの不具合を再現し、その後、画像に代替テキストまたは適切なプレゼンテーション用ロールがあることを確認してください。

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
C#
スター
4.9k
フォーク
497
平均マージ
1日 1時間
マージ済み PR(30日)
47

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/fluentui-blazor のほかの issue

microsoft/fluentui-blazor の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。