partnersmopa.blogg.se

Qt toolkit accessibility screen reader
Qt toolkit accessibility screen reader












State: The objects can be in a number of different states.Relation: Describes the relationship between objects in the object hierarchy.Role: Describes the role the object fills in the user interface, e.g., if it is a window, a text edit, or a cell in a table.The members and enums in QAccessible are used to describe accessible objects: The clients may then query for the object that generated the event through QAccessible::queryAccessibleInterface(). The available events are defined by the QAccessible::Event enum. Servers notify clients through updateAccessibility() about changes in objects by sending events, and the clients register to receive the events. This is often a mirror of the hierarchy of QWidgets that make up the UI of the application. The structure of the UI is represented as a tree of QAccessibleInterface subclasses.

qt toolkit accessibility screen reader

We will examine the enums in the course of this document. QAccessible contains enums that describe the UI. Currently, Qt provides support for its widgets and widget parts, e.g., slider handles, but the interface could also be implemented for any QObject if necessary. Qt applications use QAccessibleInterface to expose information about the individual UI elements. When we communicate with the assistive technologies, we need to describe Qt's user interface in a way that they can understand. Accessibility in QWidget based applications We will focus on the Qt accessibility interface QAccessibleInterface and how to make applications accessible.














Qt toolkit accessibility screen reader