Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET MAUI CollectionView item's DataTemplate's root container's SemanticProperties.Hint doesn't get set on the item #13178

Open
gbarkerz opened this issue Feb 7, 2023 · 4 comments
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/a11y Relates to accessibility t/bug Something isn't working
Milestone

Comments

@gbarkerz
Copy link

gbarkerz commented Feb 7, 2023

Description

If a SemanticProperties.Description is set on the root container in a CollectionView item's DataTemplate, then that string gets set as the UIA Name property for the UIA element representing that container, and also the UIA Name on the CollectionView item itself. If a SemanticProperties.Hint is set on the same container, then that string is set as the UIA HelpText property on the UIA element representing the container, but not on the CollectionView item.

Steps to Reproduce

  1. Build and run the app at https://github.com/gbarkerz/MauiAppTest2.
  2. Point the Accessibility Insights for Windows tool at one of the one of the group elements beneath one of the items in the CollectionView. Note that the group element has a Name of "Wallace" and a HelpText of "Gromit".
  3. Point the Accessibility Insights for Windows tool at item which is the parent of the group element just inspected. Note that the item has a Name of "Wallace".

Result: The item has no HelpText property.
Expected. The child group element's HelpText property should get propagated up to be the HelpText of the item.

Link to public reproduction project repository

https://github.com/gbarkerz/MauiAppTest2

Version with bug

7.0 (current)

Last version that worked well

6.0.312

Affected platforms

Windows

Affected platform versions

net7.0-windows10.0.19041.0

Did you find any workaround?

No response

Relevant log output

No response

@gbarkerz gbarkerz added the t/bug Something isn't working label Feb 7, 2023
@gbarkerz
Copy link
Author

gbarkerz commented Feb 7, 2023

Here's a screenshot of Accessibility Insights reporting that the CollectionView item has no HelpText property.

image

@jsuarezruiz jsuarezruiz added legacy-area-a11y Relates to accessibility area-controls-collectionview CollectionView, CarouselView, IndicatorView labels Feb 8, 2023
@PureWeen PureWeen added this to the Backlog milestone Feb 8, 2023
@ghost
Copy link

ghost commented Feb 8, 2023

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

@rachelkang
Copy link
Member

Validated and confirming this is an issue in both .NET 7 and .NET 6

@homeyf homeyf added s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage labels Jul 18, 2023
@homeyf
Copy link

homeyf commented Jul 18, 2023

Verified this issue with Visual Studio Enterprise 17.7.0 Preview 3.0(net8). Can repro on windows platform with sample project.
https://github.com/gbarkerz/MauiAppTest2
image

@Eilon Eilon added t/a11y Relates to accessibility and removed legacy-area-a11y Relates to accessibility labels May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/a11y Relates to accessibility t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants