summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2024-07-10 11:05:38 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2024-07-12 07:03:15 +0200
commit8442163e22a271f19347f5584ef18a7e7a13b9af (patch)
tree9905736ad96b0f29996fe8b60133158f5a627dda
parentb3f8d9212e477bca4f94392bcc8e2d3efdcd65fa (diff)
icon choice ctrl a11y: Don't report selectable state for list/tabbar
While entries can be selected and the `SELECTABLE` and `SELECTED` states are reported accordingly for them in `AccessibleIconChoiceCtrlEntry::getAccessibleStateSet`, reporting the selectable state doesn't make sense for the `AccessibleIconChoiceCtrl` itself, so drop that. (The `SELECTED` state also was never reported, without which the `SELECTABLE` state doesn't make much sense.) Change-Id: I8e7e501b9052b47babc835b6e03266f2cbfcf699 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170370 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Jenkins
-rw-r--r--accessibility/source/extended/accessibleiconchoicectrl.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/accessibility/source/extended/accessibleiconchoicectrl.cxx b/accessibility/source/extended/accessibleiconchoicectrl.cxx
index 061b7274e024..a21d58ef3ce5 100644
--- a/accessibility/source/extended/accessibleiconchoicectrl.cxx
+++ b/accessibility/source/extended/accessibleiconchoicectrl.cxx
@@ -309,7 +309,6 @@ namespace accessibility
{
rStateSet |= AccessibleStateType::FOCUSABLE;
rStateSet |= AccessibleStateType::MANAGES_DESCENDANTS;
- rStateSet |= AccessibleStateType::SELECTABLE;
}
}