c455fcd88f
So far, the accessible name and the text of the item were considered to be the same, and fallbacks to still get something else for the accessible name in case of no item text (to use the quick help text or the item window's accessible name instead) were implemented directly in `VCLXAccessibleToolBoxItem::implGetText`. However, `VCLXAccessibleToolBoxItem::implGetText` is also used by the implementations for the methods from the `XAccessibleText` interface and that one is clearly about text displayed on screen, so using e.g. the quick help/tooltip text doesn't make sense then. Let `VCLXAccessibleToolBoxItem::implGetText` only handle the actual item text and move the fallbacks to a new helper method `VCLXAccessibleToolBoxItem::implGetAccessibleName` instead that is only used when the actual accessible name is wanted. Change-Id: Icc394022d036ca619622cee1390e28ab15014be1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163959 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> |
||
---|---|---|
.. | ||
accessiblemenubasecomponent.hxx | ||
accessiblemenucomponent.hxx | ||
accessiblemenuitemcomponent.hxx | ||
svtaccessiblenumericfield.hxx | ||
vclxaccessiblebox.hxx | ||
vclxaccessiblebutton.hxx | ||
vclxaccessiblecheckbox.hxx | ||
vclxaccessiblecombobox.hxx | ||
vclxaccessibledropdowncombobox.hxx | ||
vclxaccessibledropdownlistbox.hxx | ||
vclxaccessibleedit.hxx | ||
vclxaccessiblefixedhyperlink.hxx | ||
vclxaccessiblefixedtext.hxx | ||
vclxaccessibleheaderbar.hxx | ||
vclxaccessibleheaderbaritem.hxx | ||
vclxaccessiblelist.hxx | ||
vclxaccessiblelistbox.hxx | ||
vclxaccessiblelistitem.hxx | ||
vclxaccessiblemenu.hxx | ||
vclxaccessiblemenubar.hxx | ||
vclxaccessiblemenuitem.hxx | ||
vclxaccessiblemenuseparator.hxx | ||
vclxaccessiblepopupmenu.hxx | ||
vclxaccessibleradiobutton.hxx | ||
vclxaccessiblescrollbar.hxx | ||
vclxaccessiblestatusbar.hxx | ||
vclxaccessiblestatusbaritem.hxx | ||
vclxaccessibletabcontrol.hxx | ||
vclxaccessibletabpage.hxx | ||
vclxaccessibletabpagewindow.hxx | ||
vclxaccessibletextcomponent.hxx | ||
vclxaccessibletextfield.hxx | ||
vclxaccessibletoolbox.hxx | ||
vclxaccessibletoolboxitem.hxx |