dotnet / dotnet/maui

Introduce SemanticProperties.IsCheckable

Open
#11,461 1 comment 2 reactions 0 assignees View on GitHub
area-controls-radiobutton proposal/open t/a11y t/enhancement ☀️
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 14h
Merged PRs (30d)
296

Description

Consider formalizing Semantic IsCheckable in a new property `SemanticProperties.IsCheckable`

The work has been started with RadioButton on iOS - we created a SemanticSwitchContentView which overrides accessibility traits of a Contentview and sets it to a Switch's accessibility traits (to ultimately make RadioButton behave as a switch on iOS)

https://github.com/dotnet/maui/pull/10832

Formalizing this as a separate property would not only help clean up the code but also allow for it to be applied to other controls more efficiently

cc @PureWeen

Contributor guide

Open the contributing guide

Research direction

Start by reviewing PR #10832 and the existing RadioButton iOS work, including SemanticSwitchContentView. Trace how the proposed SemanticProperties.IsCheckable value would be represented and consumed across controls; done means the property is formalized and can replace the current specialized approach for applicable controls.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
accessibility
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.