Skip to content

Adding AutomationPeers to Windows Borders #27627

@tj-devel709

Description

@tj-devel709

Description

We should add an AutomationPeer to the Border control for Windows. On Mac Catalyst, if we have a bindable layout with the items being content inside of a border, we can add SemanticProperties.Descriptions to the borders and we can traverse the items with the keyboard arrows as well as have the items read by the screenreader. These elements are also selectable using the enter key. On Windows, the border items are not recognized as elements that can be focused with the keyboard.

We have an example of this AutomationPeer in our MauiButtonAutomationPeer class. We would need this BorderAutomationPeer to classify the metadata as something that is focusable.

We would also probably want a Keydown event on these borders so that the item is selectable with a hardware keyboard (maybe the enter and/or space key).

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

9.0.30 SR3

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

Labels

area-controls-borderBorderp/0Current heighest priority issues that we are targeting for a release.partner/syncfusionIssues / PR's with Syncfusion collaborationplatform/windowss/triagedIssue has been reviewedt/a11yRelates to accessibilityt/bugSomething isn't working
No fields configured for Feature.

Projects

Status

Todo

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions