Introduce SemanticProperties.IsCheckable
- 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
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