Skip to content

[Templates] Remove redundant SemanticProperties.Description attribute#33621

Merged
PureWeen merged 1 commit intodotnet:inflight/currentfrom
kubaflo:sf-templates-cv-semantic
Jan 20, 2026
Merged

[Templates] Remove redundant SemanticProperties.Description attribute#33621
PureWeen merged 1 commit intodotnet:inflight/currentfrom
kubaflo:sf-templates-cv-semantic

Conversation

@kubaflo
Copy link
Contributor

@kubaflo kubaflo commented Jan 20, 2026

Syncing with the maui-samples repo: dotnet/maui-samples#724

Accessibility note (iOS / VoiceOver)
While investigating this issue, it’s worth noting that setting IsAccessibilityElement = true on the UIViewControllerWrapperView causes VoiceOver to treat the wrapper as a single accessibility element. As a result, all child elements (including individual cells) are no longer exposed to the accessibility tree.

This is expected UIKit behavior:
An accessibility element replaces its children in the VoiceOver hierarchy.

Therefore, I've removed the SemanticProperties.Description="Tags Collection"

Fixes #30891
Fixes #30749

Deleted the unnecessary SemanticProperties.Description attribute from the CollectionView in ProjectDetailPage.xaml to clean up the XAML and avoid redundancy.
Copilot AI review requested due to automatic review settings January 20, 2026 14:56
@kubaflo kubaflo added t/a11y Relates to accessibility a11y/sf-template-app labels Jan 20, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes the redundant SemanticProperties.Description="Tags Collection" attribute from a CollectionView in the MAUI mobile template to address iOS VoiceOver accessibility issues. The change synchronizes with fixes already applied in the maui-samples repository.

Changes:

  • Removed SemanticProperties.Description attribute from Tags CollectionView element to prevent VoiceOver from treating the entire collection as a single accessibility element, which would hide individual tag items from the accessibility tree

@PureWeen PureWeen changed the base branch from main to inflight/current January 20, 2026 16:44
@PureWeen PureWeen merged commit 8498a4e into dotnet:inflight/current Jan 20, 2026
23 of 34 checks passed
github-actions bot pushed a commit that referenced this pull request Jan 21, 2026
…#33621)

Syncing with the maui-samples repo:
dotnet/maui-samples#724

Accessibility note (iOS / VoiceOver)
While investigating this issue, it’s worth noting that setting
IsAccessibilityElement = true on the UIViewControllerWrapperView causes
VoiceOver to treat the wrapper as a single accessibility element. As a
result, all child elements (including individual cells) are no longer
exposed to the accessibility tree.

This is expected UIKit behavior:
An accessibility element replaces its children in the VoiceOver
hierarchy.

Therefore, I've removed the SemanticProperties.Description="Tags
Collection"

Fixes #30891
Fixes #30749
github-actions bot pushed a commit that referenced this pull request Jan 23, 2026
…#33621)

Syncing with the maui-samples repo:
dotnet/maui-samples#724

Accessibility note (iOS / VoiceOver)
While investigating this issue, it’s worth noting that setting
IsAccessibilityElement = true on the UIViewControllerWrapperView causes
VoiceOver to treat the wrapper as a single accessibility element. As a
result, all child elements (including individual cells) are no longer
exposed to the accessibility tree.

This is expected UIKit behavior:
An accessibility element replaces its children in the VoiceOver
hierarchy.

Therefore, I've removed the SemanticProperties.Description="Tags
Collection"

Fixes #30891
Fixes #30749
PureWeen pushed a commit that referenced this pull request Jan 27, 2026
…#33621)

Syncing with the maui-samples repo:
dotnet/maui-samples#724

Accessibility note (iOS / VoiceOver)
While investigating this issue, it’s worth noting that setting
IsAccessibilityElement = true on the UIViewControllerWrapperView causes
VoiceOver to treat the wrapper as a single accessibility element. As a
result, all child elements (including individual cells) are no longer
exposed to the accessibility tree.

This is expected UIKit behavior:
An accessibility element replaces its children in the VoiceOver
hierarchy.

Therefore, I've removed the SemanticProperties.Description="Tags
Collection"

Fixes #30891
Fixes #30749
PureWeen pushed a commit that referenced this pull request Jan 29, 2026
…#33621)

Syncing with the maui-samples repo:
dotnet/maui-samples#724

Accessibility note (iOS / VoiceOver)
While investigating this issue, it’s worth noting that setting
IsAccessibilityElement = true on the UIViewControllerWrapperView causes
VoiceOver to treat the wrapper as a single accessibility element. As a
result, all child elements (including individual cells) are no longer
exposed to the accessibility tree.

This is expected UIKit behavior:
An accessibility element replaces its children in the VoiceOver
hierarchy.

Therefore, I've removed the SemanticProperties.Description="Tags
Collection"

Fixes #30891
Fixes #30749
PureWeen pushed a commit that referenced this pull request Feb 2, 2026
…#33621)

Syncing with the maui-samples repo:
dotnet/maui-samples#724

Accessibility note (iOS / VoiceOver)
While investigating this issue, it’s worth noting that setting
IsAccessibilityElement = true on the UIViewControllerWrapperView causes
VoiceOver to treat the wrapper as a single accessibility element. As a
result, all child elements (including individual cells) are no longer
exposed to the accessibility tree.

This is expected UIKit behavior:
An accessibility element replaces its children in the VoiceOver
hierarchy.

Therefore, I've removed the SemanticProperties.Description="Tags
Collection"

Fixes #30891
Fixes #30749
github-actions bot pushed a commit that referenced this pull request Feb 4, 2026
…#33621)

Syncing with the maui-samples repo:
dotnet/maui-samples#724

Accessibility note (iOS / VoiceOver)
While investigating this issue, it’s worth noting that setting
IsAccessibilityElement = true on the UIViewControllerWrapperView causes
VoiceOver to treat the wrapper as a single accessibility element. As a
result, all child elements (including individual cells) are no longer
exposed to the accessibility tree.

This is expected UIKit behavior:
An accessibility element replaces its children in the VoiceOver
hierarchy.

Therefore, I've removed the SemanticProperties.Description="Tags
Collection"

Fixes #30891
Fixes #30749
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a11y/sf-template-app t/a11y Relates to accessibility

Projects

None yet

2 participants