You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a ComboBox is bound to a list of non string objects the Narrator screen reader will read the class name for the selected object. It correctly reads the displayed value for the items in the list once it is opened. AvaloniaAccess.zip
To Reproduce
Run the sample on windows, start Narrator and tab to the ComboBox, it will read the class name for the selected value.
Expected behavior
Narrator to read the displayed value
Avalonia version
11.2.999-cibuild0051813-alpha
OS
Windows
Additional context
No response
The text was updated successfully, but these errors were encountered:
That does make it work (and how I had worked around it), but I'm not sure it is how it should be, it seems odd that the text is read out for the dropdown list and not when the dropdown is closed. I just tested on WPF and it reads the class name for both cases. My feeling is it should use the displayed text, this might be different across multiple uses of the object and you have already defined the text you want with either a template or DisplayBemberBinding. Anything that makes Accessibility automatic seems good to me, but if this is expected behaviour so be it.
@ahopper I am not sure about automation. I feel like there is some room for optimization and your suggestion could be part of it. But in the end the experts needs to decide. I think following what WPF does if applicable would maybe be a good idea.
Describe the bug
If a ComboBox is bound to a list of non string objects the Narrator screen reader will read the class name for the selected object. It correctly reads the displayed value for the items in the list once it is opened.
AvaloniaAccess.zip
To Reproduce
Run the sample on windows, start Narrator and tab to the ComboBox, it will read the class name for the selected value.
Expected behavior
Narrator to read the displayed value
Avalonia version
11.2.999-cibuild0051813-alpha
OS
Windows
Additional context
No response
The text was updated successfully, but these errors were encountered: