Skip to content

accessibility: add missing AutomationProperties.Name to unlabeled buttons#3283

Open
reabr wants to merge 2 commits into
UnigramDev:developfrom
reabr:accessibility/add-missing-automation-names
Open

accessibility: add missing AutomationProperties.Name to unlabeled buttons#3283
reabr wants to merge 2 commits into
UnigramDev:developfrom
reabr:accessibility/add-missing-automation-names

Conversation

@reabr

@reabr reabr commented May 30, 2026

Copy link
Copy Markdown

Problem

Several icon only buttons across the app have no AutomationProperties.Name,
causing screen readers like Narrator and NVDA to announce them as just "Button"
with no context.

Changes

New strings in Resources.resw

  • AccDescrCancelRecording — "Cancel recording"
  • AccDescrDismissBar — "Dismiss"
  • AccDescrGoForward — "Go forward"
  • AccDescrSetTimer — "Set self-destruct timer"

XAML fixes

File Button Label used
ChatView.xaml ComposerHeaderCancel AccDescrCancelReply
ChatView.xaml ButtonEditor AccDescrPhotoEditor
ChatView.xaml ButtonTimer AccDescrSetTimer
ChatView.xaml ButtonManage Cancel
ChatView.xaml ButtonForward Forward
ChatView.xaml ButtonDelete Delete
ChatRecordBar.xaml DeleteButton AccDescrCancelRecording
ChatActionBarView.xaml RemoveButton AccDescrDismissBar
TabbedPageHeader.xaml BackButton AccDescrGoBack
TabbedPageHeader.xaml ForwardButton AccDescrGoForward
GroupCallPage.xaml Menu AccDescrMoreOptions

Testing

Tested with Windows Narrator (Win+Ctrl+Enter).
All buttons now announce their purpose correctly.

@CLAassistant

CLAassistant commented May 30, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

…tons

- ComposerHeaderCancel: reuse AccDescrCancelReply
- ButtonEditor: reuse AccDescrPhotoEditor
- ButtonTimer: new AccDescrSetTimer string
- ButtonManage: reuse Cancel
- ButtonForward: reuse Forward
- ButtonDelete: reuse Delete
- DeleteButton (ChatRecordBar): new AccDescrCancelRecording
- RemoveButton (ChatActionBarView): new AccDescrDismissBar
- BackButton/ForwardButton (TabbedPage): reuse AccDescrGoBack / new AccDescrGoForward
- Menu (GroupCallPage): reuse AccDescrMoreOptions

Fixes screen reader announcements for icon-only buttons
that were previously read as just 'Button'.
@reabr reabr force-pushed the accessibility/add-missing-automation-names branch from 41e4fc1 to 08efa1a Compare May 30, 2026 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants