office-gobmx/accessibility/inc/standard
Michael Weghorn a5593114bb tdf#104833 a11y Send name changed event for text controls
The text is at least often used for the accessible name of
text controls (e.g. the MultiLineEdit case in tdf#104833).

Therefore, also check whether the a11y name has changed
from the previously remembered one in
`VCLXAccessibleTextComponent::SetText` and send
a NAME_CHANGED event if it has.

This e.g. makes sure that the a11y name for the multi line
edit in the update dialog is updated on Windows
and NVDA properly announces it when it receives focus.
 (It now correctly announces "LibreOfficeDev 24.2 is up to date."
instead of the obsolete cached name "Checking...").

Also see how `VCLXAccessibleTextComponent::ProcessWindowEvent`
calls `VCLXAccessibleTextComponent::SetText` when processing
`VclEventId::WindowFrameTitleChanged` and this comment in
`Window::SetText` mentions that `VclEventId::WindowFrameTitleChanged`
is used to notify about a11y name changes:

    // #107247# needed for accessibility
    // The VclEventId::WindowFrameTitleChanged is (mis)used to notify accessible name changes.
    // Therefore a window, which is labeled by this window, must also notify an accessible
    // name change.

Change-Id: I2f15fe78324b14c3bbeae943cb87384007e21618
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156411
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-09-01 16:13:40 +02:00
..
accessiblemenubasecomponent.hxx use concrete type for OAccessibleMenuBaseComponent::m_aAccessibleChildren 2023-08-31 10:34:10 +02:00
accessiblemenucomponent.hxx
accessiblemenuitemcomponent.hxx
svtaccessiblenumericfield.hxx
vclxaccessiblebox.hxx
vclxaccessiblebutton.hxx
vclxaccessiblecheckbox.hxx
vclxaccessiblecombobox.hxx
vclxaccessibledropdowncombobox.hxx
vclxaccessibledropdownlistbox.hxx
vclxaccessibleedit.hxx tdf#104833 a11y: Don't use VCLXEdit in VCLXAccessibleEdit 2023-09-01 16:13:19 +02:00
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 use concrete type for VCLXAccessibleStatusBar::m_aAccessibleChildren 2023-08-31 10:33:53 +02:00
vclxaccessiblestatusbaritem.hxx
vclxaccessibletabcontrol.hxx use concrete type for VCLXAccessibleTabControl::m_aAccessibleChildren 2023-08-30 22:16:36 +02:00
vclxaccessibletabpage.hxx
vclxaccessibletabpagewindow.hxx
vclxaccessibletextcomponent.hxx tdf#104833 a11y Send name changed event for text controls 2023-09-01 16:13:40 +02:00
vclxaccessibletextfield.hxx
vclxaccessibletoolbox.hxx use concrete type for ToolBoxItemsMap 2023-08-30 22:16:23 +02:00
vclxaccessibletoolboxitem.hxx