AccessibilityModelQt5: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
[toc depth="2"]
[toc depth="2"]


= Accessibility models sorted by role =
= Accessibility models sorted by role =
Line 7: Line 7:
== ChoiceList ==
== ChoiceList ==


=== Required to be returned by child()<br />| '''Required role''' | '''Quantity''' | '''Comment''' |<br />| List | 1 | | ===
=== Required to be returned by child()
| '''Required role''' | '''Quantity''' | '''Comment''' |
| List | 1 | | ===


=== Required to be returned by parent() ===
=== Required to be returned by parent() ===
Line 13: Line 15:
None.
None.


=== Required attributes<br />| '''property''' | '''behaviour''' |<br />| text(QAccessible::Name) | The name of the list item | ===
=== Required attributes
| '''property''' | '''behaviour''' |
| text(QAccessible::Name) | The name of the list item | ===


== ComboBox ==
== ComboBox ==


=== Required to be returned by child()<br />| '''Required role''' | '''Quantity''' | '''Comment''' |<br />| List | 1 | |<br />| EditableText | 1 | (ComboBox is always editable) | ===
=== Required to be returned by child()
| '''Required role''' | '''Quantity''' | '''Comment''' |
| List | 1 | |
| EditableText | 1 | (ComboBox is always editable) | ===


=== Required to be returned by parent() ===
=== Required to be returned by parent() ===
Line 23: Line 30:
None.
None.


=== Required attributes<br />| '''property''' | '''behaviour''' |<br />| text(QAccessible::Name) | The name of the ui control (can be empty, usually name is derived from associated label) |<br />| text(QAccessible::Value) | The text of the selected item | ===
=== Required attributes
| '''property''' | '''behaviour''' |
| text(QAccessible::Name) | The name of the ui control (can be empty, usually name is derived from associated label) |
| text(QAccessible::Value) | The text of the selected item | ===


== List ==
== List ==


=== Required to be returned by child()<br />| '''Required role''' | '''Quantity''' | '''Comment''' |<br />| ListItem | [1,&amp;#8734;] | | ===
=== Required to be returned by child()
| '''Required role''' | '''Quantity''' | '''Comment''' |
| ListItem | [1,&amp;#8734;] | | ===


=== Required to be returned by parent() ===
=== Required to be returned by parent() ===
Line 33: Line 45:
List
List


=== Required attributes<br />| '''property''' | '''behaviour''' |<br />| text(QAccessible::Name) | The name of the ui control (can be empty, usually name is derived from associated label) | ===
=== Required attributes
| '''property''' | '''behaviour''' |
| text(QAccessible::Name) | The name of the ui control (can be empty, usually name is derived from associated label) | ===

Revision as of 12:36, 25 February 2015

[toc depth="2"]

Accessibility models sorted by role

A QAccessibleInterface that implements a specific role must follow the contract that is specified in this document. This helps the implementors of the bridges to know how and where to retrieve the desired information, and it helps implementors of accessibility plugins to know what they need to implement in order for the bridge to be able to pick up that information.

ChoiceList

=== Required to be returned by child() | Required role | Quantity | Comment | | List | 1 | | ===

Required to be returned by parent()

None.

=== Required attributes | property | behaviour | | text(QAccessible::Name) | The name of the list item | ===

ComboBox

=== Required to be returned by child() | Required role | Quantity | Comment | | List | 1 | | | EditableText | 1 | (ComboBox is always editable) | ===

Required to be returned by parent()

None.

=== Required attributes | property | behaviour | | text(QAccessible::Name) | The name of the ui control (can be empty, usually name is derived from associated label) | | text(QAccessible::Value) | The text of the selected item | ===

List

=== Required to be returned by child() | Required role | Quantity | Comment | | ListItem | [1,&#8734;] | | ===

Required to be returned by parent()

List

=== Required attributes | property | behaviour | | text(QAccessible::Name) | The name of the ui control (can be empty, usually name is derived from associated label) | ===