wxPython ListCtrl and CalendarCtrl accessibility
wxPython ListCtrl and CalendarCtrl accessibility Hello, I have two questions about wxPython widgets and their accessibility. 1. I'm making an app which has a ListCtrl with reminders as one of the widgets, and I can't make the column headers text to be spoken when I hover the column headers. Is there something I don't know about this? 2. Same, or even worse with CalendarCtrl. I don't know how to make an accessible calendar in Python. It should have the reminders announced in some way. Any ideas about this? Thanks in advance URL: https://forum.audiogames.net/post/597886/#p597886 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: wxPython ListCtrl and CalendarCtrl accessibility
Re: wxPython ListCtrl and CalendarCtrl accessibility WxPython is known for these little quirks in its accessibility. In some cases its the help text with things like certain buttons or functions that catch with screen readers, but it doesn't seem like there may be much for that with columns. You could try experimenting with a few functions or trying to cobble something from a few other functions, but it can be hit or miss. As for reminders, you could try shunting them to the status bar, which is a pretty quick overall access point. URL: https://forum.audiogames.net/post/597990/#p597990 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: wxPython ListCtrl and CalendarCtrl accessibility
Re: wxPython ListCtrl and CalendarCtrl accessibility Quickly looking at the docs, you may need to set the style to wx.LC_REPORT. It's been too long since I've done this for me to remember how. URL: https://forum.audiogames.net/post/597996/#p597996 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: wxPython ListCtrl and CalendarCtrl accessibility
Re: wxPython ListCtrl and CalendarCtrl accessibility Reeport wouldn’t work, either. I tried URL: https://forum.audiogames.net/post/598147/#p598147 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: wxPython ListCtrl and CalendarCtrl accessibility
Re: wxPython ListCtrl and CalendarCtrl accessibility Report wouldn’t work, either. I tried URL: https://forum.audiogames.net/post/598147/#p598147 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: wxPython ListCtrl and CalendarCtrl accessibility
Re: wxPython ListCtrl and CalendarCtrl accessibility @2 In fact, the problem is that I need the column names to be spoken on hover, because a click on the column will sort the list by that column, so the status bar probably wouldn't help here. @3 @4 wx.LC_REPORT is actually the style I'm using, and seems like there's no easy way to fix the column name accessibility. I like the look of e.g. NVDA's addon manager list, but I suppose that this implementation would require too much effort for that task. Not completely sure about that, if somebody knows more about it please tell us. URL: https://forum.audiogames.net/post/599032/#p599032 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: wxPython ListCtrl and CalendarCtrl accessibility
Re: wxPython ListCtrl and CalendarCtrl accessibility I mean you could go consult the NVDA source code to find out what they use for that. It's also possible WX did actually break this since NVDA's version. I doubt NVDA is doing anything super special and custom, and is itself using WX. URL: https://forum.audiogames.net/post/599035/#p599035 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: wxPython ListCtrl and CalendarCtrl accessibility
Re: wxPython ListCtrl and CalendarCtrl accessibility @5Hmm, a less simple way could be to capture one of the events emitted when a column is hovered or selected and push it to the screen reader manually with something like Tolk. Maybe something like EVT_LIST_ITEM_FOCUSED or EVT_LIST_ITEM_SELECTED in ListCtrl? URL: https://forum.audiogames.net/post/599170/#p599170 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: wxPython ListCtrl and CalendarCtrl accessibility
Re: wxPython ListCtrl and CalendarCtrl accessibility @4Are you using a mac? I'm sure list view works under windows with style=wx.LC_REPORT, but haven't tried it in ages. URL: https://forum.audiogames.net/post/599200/#p599200 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector