-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Fix VoiceOver doesnot announces the State of the ComboBox #32286
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -44,6 +44,9 @@ public partial class ProjectDetailPageModel : ObservableObject, IQueryAttributab | |
| [ObservableProperty] | ||
| bool _isBusy; | ||
|
|
||
| [ObservableProperty] | ||
| private bool _isCategoryPickerExpanded; | ||
|
|
||
| [ObservableProperty] | ||
| private List<IconData> _icons = new List<IconData> | ||
| { | ||
|
|
@@ -177,6 +180,18 @@ private async Task TaskCompleted(ProjectTask task) | |
| OnPropertyChanged(nameof(HasCompletedTasks)); | ||
| } | ||
|
|
||
| partial void OnIsCategoryPickerExpandedChanged(bool value) | ||
| { | ||
| if (value) | ||
| { | ||
| SemanticScreenReader.Announce("State Expanded"); | ||
|
||
| } | ||
| else | ||
| { | ||
| SemanticScreenReader.Announce("State Collapsed"); | ||
| } | ||
| } | ||
|
|
||
| [RelayCommand] | ||
| private async Task Save() | ||
| { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extra space between 'void' and 'OnIsCategoryPickerExpandedChanged'. Should be single space for consistency with the similar method in TaskDetailPageModel.cs.