The help text for the More/Less button is currently: "Invoke to show or hide the text entry fields."
When "More" is shown, it should be "Invoke to show the text entry fields.".
When "Less" is shown, it should be "Invoke to hide the text entry fields.".
(While using a screen reader), tab to the "More" or "Less" button
Expected behavior
For 'More' button Screen Reader should announce 'More button, invoke to show the text entry fields' and for 'Less' button Screen Reader should announce 'Less button, invoke to hide the text entry fields'
Describe the bug
See https://github.com/microsoft/terminal/issues/12046
The help text for the More/Less button is currently: "Invoke to show or hide the text entry fields."
When "More" is shown, it should be "Invoke to show the text entry fields.". When "Less" is shown, it should be "Invoke to hide the text entry fields.".
Basically, it should be more specific.
Steps to reproduce the bug
IsMoreButtonVisible
is enabledExpected behavior
For 'More' button Screen Reader should announce 'More button, invoke to show the text entry fields' and for 'Less' button Screen Reader should announce 'Less button, invoke to hide the text entry fields'
Screenshots
No response
NuGet package version
No response
Windows app type
Device form factor
Desktop
Windows version
No response
Additional context
WinUI 2 Gallery version: 1.2.25.0