Hi everyone,
You may recall I asked a question to do with wx.grid a few days ago, which was very kindly and promptly answered. Thank you for that.
Unfortunately, wx.grid does not appear to be accessible with a screen reader. Meaning that when I use the arrow keys, my screen reader is saying nothing.
I am intending to make a web development tool for both blind and sighted folk alike and one of the features I would like is creating tables.
I would like to ask then is there an alternative way of showing a table and allowing the user to edit it using wx python?
In my code, a few assumtions are made like, the table is a square.
So the table will always be the same in height as width.
I would like to ask then is there an alternative way of showing a table and allowing the user to edit it using wx python?
In my code, a few assumtions are made like, the table is a square.
If the use-case is pretty simple (I.e more such assumptions), it would not be too hard to simple use regular Controls (e.g. TextControl) laid out with a GridSizer or FlexGridSizer.
wx.grid has many features to support spreadsheet-like applications, but can be a bit unwieldy for the simple cases.
-CHB
···
So the table will always be the same in height as width.
Please let me know of my options.
Thanks muchly.
Nate.
–
You received this message because you are subscribed to the Google Groups “wxPython-users” group.
You may recall I asked a question to do with wx.grid a few days ago,
which was very kindly and promptly answered. Thank you for that.
Unfortunately, wx.grid does not appear to be accessible with a screen
reader. Meaning that when I use the arrow keys, my screen reader is
saying nothing.
If you do that in an app like Excel, does the reader announce the
content of the cell? I suspect most people here just don't know how to
trigger that. If we knew how to trigger the screen reader, it probably
wouldn't be too hard to add.
···
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.
Native widgets will automatically interface with the Windows accessibility framework and will work well with screen readers and such, like saying the name of the control, its content, etc.
On the other hand, wxGrid, being a generic widget does not do anything with the accessibility framework and so there is no built-in support for screen readers. wxWidgets has the wxAccessible class which could probably be used to add something on to the grid classes, but it hasn’t been wrapped for wxPython yet mainly because I’m still mostly unfamiliar with how these things work and haven’t learned more about it than just the high-level view. I’ve added an issue for it to remind me about it when I have some time.
···
On Wednesday, August 8, 2018 at 10:59:59 AM UTC-7, Tim Roberts wrote:
Nathan Smith wrote:
You may recall I asked a question to do with wx.grid a few days ago,
which was very kindly and promptly answered. Thank you for that.
Unfortunately, wx.grid does not appear to be accessible with a screen
reader. Meaning that when I use the arrow keys, my screen reader is
saying nothing.
If you do that in an app like Excel, does the reader announce the
content of the cell? I suspect most people here just don’t know how to
trigger that. If we knew how to trigger the screen reader, it probably