[PyQt] PyQt5.5 some example for accessibility testing
Phil Thompson
phil at riverbankcomputing.com
Sun Sep 20 11:05:46 BST 2015
On 20 Sep 2015, at 9:55 am, germano carella <germanocarella.list at gmail.com> wrote:
>
> Hi to all,
> I written an example for accessibility testing on PyQt5.5.
> The app is very stupid, it shows 2 QLineEdit, a QCombobox and 2 QPushbuttons.
> My screen reader recognizes controls as edit boxes, button also are recognized as an edit box.
> When I try to write something It doesn't read anything.
> If I press arrow keys, text written is not spoken.
> In combobox, items are not spoken.
>
> I paste the example I written.
>
> Maybe I must rebuild PyQt5 with accessibility support enabled? How can I do this?
PyQt has no knowledge of accessibility. This means (I think) that accessibility of standard Qt widgets should just work (so long as Qt has been built appropriately), but it's not possible to write new accessible widgets in Python.
Phil
More information about the PyQt
mailing list