dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
21.98k stars 1.71k forks source link

Control type is not given for recipes appear in collection after searching for recipe: A11y_.NET Core_Recipes App Recipes Search_Recipe Screen_AI4MAC #22962

Closed kapilvaishna closed 5 days ago

kapilvaishna commented 2 months ago

Please do not close this bug. This bug should only be closed by Trusted Tester after verification.

"Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier."

GitHub Tags

A11yTCS;#A11yMAS;#WCAG4.1.2;#AI4Mac;#E2E_.NETCore_Mac_Jun2024;#.NET Core;#Name Role Value;#DesktopApp;#Device;#FTP;#A11ySev2;#Mac; #Closed;

Environment Details:

Application: .NET Core Version 2 (2) Operating System: Sonoma 14.5

Repro Steps:

  1. Install and open ".NET MAUI" app.
  2. TAB to "search box" and search for any recipe.
  3. TAB to any recipe and inspect it.
  4. Observe that control type is not given for recipes appear in collection after searching for recipe.

Actual Result:

Control type is not given for recipes appear in collection after searching for recipe.

Expected Result:

Control type as button should be assign for recipes appear in collection after searching for recipe.

User Impact:

Screen reader user will not know the control type and we will not get this are Intractive or not.

Attachment

22962_A11y_ NET Core_Recipes App Recipes Search_Recipe Screen_AI4MAC
github-actions[bot] commented 2 months ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

Yash14j commented 2 months ago

GithubTags:#Rev:yaja;

RoiChen001 commented 2 months ago

Can repro this issue at Maccatalyst platform on the latest 17.6.12(build 410)(8.0.21&8.0.40).

tj-devel709 commented 1 month ago

Those buttons are really cells inside our CollectionView below. I'm not yet sure how we would tell the system that these are treated as buttons/cells.

        <CollectionView
            Grid.Row="2"
            Margin="10"
            HorizontalOptions="Fill"
            VerticalOptions="Fill"
            ItemsSource="{Binding RecipeData.Hits}"
            x:Name="vListView"
            SelectionMode="Single"
            SelectedItem="{Binding SelectedHit}">
            <CollectionView.ItemsLayout>
                <GridItemsLayout Orientation="Vertical" Span="2" HorizontalItemSpacing="15" VerticalItemSpacing="15" />
            </CollectionView.ItemsLayout>
            <CollectionView.ItemTemplate>
                <DataTemplate>
                    <Grid SemanticProperties.Description="{Binding Recipe.RecipeName, x:DataType=recipes:Hit}"
                          HandlerChanged="OnImageHandlerChanged" 
                          HeightRequest="220"
                          RowDefinitions="*" 
                          ColumnDefinitions="*">

                        <Grid>
                            <Image Source="{Binding Recipe.ImageUrl, x:DataType=recipes:Hit}" Aspect="AspectFill" VerticalOptions="Fill" HorizontalOptions="Fill" AutomationProperties.IsInAccessibleTree="False"/>
                            <Label x:Name="recipeName"
                                   Padding="5"
                                   HorizontalOptions="Fill" 
                                   VerticalOptions="End"
                                   VerticalTextAlignment="Start"
                                   HorizontalTextAlignment="Center"
                                   Text="{Binding Recipe.RecipeName, x:DataType=recipes:Hit}"
                                   Style="{StaticResource RecipeNameStyle}"
                                   LineBreakMode="WordWrap" 
                                   MaxLines="2"
                                   HeightRequest="80"
                                   FontSize="16"/>
                        </Grid>

                    </Grid>
                </DataTemplate>
            </CollectionView.ItemTemplate>
        </CollectionView>
kapilvaishna commented 5 days ago

issue is not repro in version 3 so closing the bug image