a5593114bb
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> |
||
---|---|---|
.. | ||
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 |