Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

[Enhancement] UWP: Button: AccessKey support #1672

@kingces95

Description

@kingces95

image

Rationale

Disabled and/or power users find the keyboard easier/faster to use than the mouse.

Implementation

A UAP platform specific subset of https://docs.microsoft.com/en-us/windows/uwp/design/input/access-keys as can be exposed via the following:

public class View {
	public static readonly BindableProperty AccessKey; // string
	public static readonly BindableProperty AccessKeyPlacement; // AccessKeyPlacement
}

public enum AccessKeyPlacement {
	Auto = 0,
	Top, 
	Bottom, 
	Right, 
	Left, 
	Center, 
}

Expected Result

https://docs.microsoft.com/en-us/windows/uwp/design/input/access-keys

Implications for CSS

None.

Backward Compatibility

None.

Difficulty : Easy

The test matrix should include all derivations of View typically clicked or tapped.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions