-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Bug]: Accessibility properties SizeOfSet and PositionOfSet are not being set when using <ReactiveWindow> #3637
Comments
Did you mean for this issue to be raised about the rxui website or rxui itself? |
Apologies I meant for rxui. Shall I recreate the ticket? |
Anyone had a chance to look at this? Or provide some comments? Cheers |
I have been travelling for the past few weeks but should have some time available this weekend to take a look at this and some of the other recent observations raised. |
Thank you Chris. |
I have a strong suspicion it's the way we handle
When doing binding we will use a IPropertyBindingHook to look up from the view resolution and find the appropriate value to show. I'm going to test this weekend and override the IPropertyBindingHook in the splat registrations with a custom one to see if its related. |
Describe the bug 🐞
As a part of our development process we run Microsoft's Accessibility Insights FastPass tool to ensure that UI changes are meeting this accessibility standard.
There is one issue that we cannot seem to resolve, and it seems to be linked to someting weird going on behind the scenes of ReactiveUI (from what I can tell).
When binding a list to a ComboBox using ReactiveUI there seems to be an issue that is being flagged by the tool around the values of the
AutomationProperties.SizeOfSet
andAutomationProperties.PositionOfSet
. As of .NET48 these values should be automatically filled in in a WPF application. These values are used by a screenreader to inform the user where they are on a particular page (e.g. position 4 of 10).Anyways when binding a list to a ComboBox using a regular WPF code behind binding (and just using instead of ) this is no longer an issue on the accessibility tool.
Step to reproduce
<ReactiveWindow>
for<Window>
, uncomment theWpfCombobox.ItemSource = ...
code and comment out the ReactuveUI setup).Reproduction repository
https://github.com/hicks86/ReactiveUIAccessibilityRepro
Expected behavior
When you run the accessibility tool there should be no accessibility issue present for the SizeOfSet and PositionOfSet AutomationProperties.
Screenshots 🖼️
No response
IDE
Visual Studio 2022
Operating system
Windows 10
Version
No response
Device
No response
ReactiveUI Version
19.4.1
Additional information ℹ️
Happy to provide any other information needed. It would be good to get to the bottom of this.
The text was updated successfully, but these errors were encountered: