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

WX slider controls are not screen reader accessible #210

Open
ultrasound1372 opened this issue Feb 6, 2021 · 3 comments
Open

WX slider controls are not screen reader accessible #210

ultrasound1372 opened this issue Feb 6, 2021 · 3 comments

Comments

@ultrasound1372
Copy link
Contributor

When the examples spawn their WX control windows with sliders in them, I cannot interact with them with my screen reader. Pressing tab takes me through them, but they just read as panel value, where value is the value of the control. The arrow keys, page keys, home/end do not work. I saw in the code somewhere that you're also supposed to be able to type in value via the numpad and press enter to commit that, but that doesn't seem to work either. Maybe it's not properly handling keyboard focus? Could this be fixed? I understand the graph controls and other plot type controls can't be accessible just on principle, but sliders/knobs/other manipulateable parameters should be. WX definitely has the capability to do that. Either you you can use its normal classes for sliders or implement the accessibility overlays and keyboard events on your custom controls. You would have to set an accessible role and name, handle keyboard events, possibly some other things that I'm forgetting. This should be done with either WXPython 4.0.3 or WXPython 4.1.0, any version in between those two broke accessibility.

@belangeo
Copy link
Owner

Hi, I'll try to take a look when I'll have a little free time...

@belangeo
Copy link
Owner

belangeo commented Nov 7, 2021

It looks like it's available only for Windows:

https://wxpython.org/Phoenix/docs/html/wx.Accessible.html

Maybe when it becomes a cross-platform feature...!

@ultrasound1372
Copy link
Contributor Author

I consider this unfair. Even if you don't implement the wx.accessible role and name, isn't there some way you can make the controls at least properly respond to keyboard input when the keyboard focus is on them? I know my screen reader is supposed to pass those gestures through to the control.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants