summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/controls/ComboBox.qml2
-rw-r--r--src/controls/Private/AbstractCheckable.qml2
-rw-r--r--src/controls/Private/BasicButton.qml2
3 files changed, 6 insertions, 0 deletions
diff --git a/src/controls/ComboBox.qml b/src/controls/ComboBox.qml
index 6d8e22683..21d473d60 100644
--- a/src/controls/ComboBox.qml
+++ b/src/controls/ComboBox.qml
@@ -299,7 +299,9 @@ Control {
activeFocusOnTab: true
+ Accessible.name: editable ? editText : currentText
Accessible.role: Accessible.ComboBox
+ Accessible.editable: editable
MouseArea {
id: mouseArea
diff --git a/src/controls/Private/AbstractCheckable.qml b/src/controls/Private/AbstractCheckable.qml
index 858569e8f..1d69d8696 100644
--- a/src/controls/Private/AbstractCheckable.qml
+++ b/src/controls/Private/AbstractCheckable.qml
@@ -84,6 +84,8 @@ Control {
This property is \c true if the control is checked.
*/
property bool checked: false
+ Accessible.checked: checked
+ Accessible.checkable: true
/*!
This property is \c true if the control takes the focus when it is
diff --git a/src/controls/Private/BasicButton.qml b/src/controls/Private/BasicButton.qml
index 4c1eeb042..44ec21109 100644
--- a/src/controls/Private/BasicButton.qml
+++ b/src/controls/Private/BasicButton.qml
@@ -71,6 +71,7 @@ Control {
The default value is \c false. */
property bool checkable: false
+ Accessible.checkable: checkable
/*! This property holds whether the button is checked.
@@ -78,6 +79,7 @@ Control {
The default value is \c false. */
property bool checked: false
+ Accessible.checked: checked
/*! This property holds the ExclusiveGroup that the button belongs to.