diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2023-12-18 08:48:12 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-12-20 09:27:27 +0100 |
commit | f098ba6579fb1992c0db86b19b22eb8532ab1ba6 (patch) | |
tree | 4b57b31df524dba674e9c04b21004443ded0c666 /toolkit | |
parent | d125fc2a2178b100253ea089b7ad30acafccfb57 (diff) |
tdf#123864 a11y: Handle new CHECKABLE state in misc places
Add reporting/handling of the CHECKABLE a11y state
added in
commit d6c6472bbe1c90b733a4d69c4c8528f4de3750d3
Author: Michael Weghorn <m.weghorn@posteo.de>
Date: Mon Nov 13 15:53:44 2023 +0100
tdf#123864 a11y: Add new AccessibleStateType::CHECKABLE
in various places where it seems pretty straightforward.
`VCLXAccessibleMenuItem` is a bit more complex and will be
handled separately.
Change-Id: I212b8439609d34410413959973163aa7d809cbf1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160901
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161036
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxaccessiblecomponent.cxx | 1 | ||||
-rw-r--r-- | toolkit/test/accessibility/tools/NameProvider.java | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/toolkit/source/awt/vclxaccessiblecomponent.cxx b/toolkit/source/awt/vclxaccessiblecomponent.cxx index 2c353fd801eb..9c2321ede37a 100644 --- a/toolkit/source/awt/vclxaccessiblecomponent.cxx +++ b/toolkit/source/awt/vclxaccessiblecomponent.cxx @@ -497,6 +497,7 @@ void VCLXAccessibleComponent::FillAccessibleStateSet( sal_Int64& rStateSet ) MUST BE SET FROM DERIVED CLASSES: +CHECKABLE CHECKED COLLAPSED EXPANDED diff --git a/toolkit/test/accessibility/tools/NameProvider.java b/toolkit/test/accessibility/tools/NameProvider.java index cc5ae469e57a..7a859fcea626 100644 --- a/toolkit/test/accessibility/tools/NameProvider.java +++ b/toolkit/test/accessibility/tools/NameProvider.java @@ -99,6 +99,7 @@ public class NameProvider maStateMap.put (Integer.valueOf(AccessibleStateType.ACTIVE), "ACTIVE"); maStateMap.put (Integer.valueOf(AccessibleStateType.ARMED), "ARMED"); maStateMap.put (Integer.valueOf(AccessibleStateType.BUSY), "BUSY"); + maStateMap.put (Integer.valueOf(AccessibleStateType.CHECKABLE), "CHECKABLE"); maStateMap.put (Integer.valueOf(AccessibleStateType.CHECKED), "CHECKED"); maStateMap.put (Integer.valueOf(AccessibleStateType.DEFUNC), "DEFUNC"); maStateMap.put (Integer.valueOf(AccessibleStateType.EDITABLE), "EDITABLE"); |