Maui icon indicating copy to clipboard operation
Maui copied to clipboard

[Proposal] SemanticOrderView

Open TheCodeTraveler opened this issue 4 years ago • 3 comments

SemanticOrderView

  • [x] Proposed
  • [ ] Prototype: Not Started
  • [ ] Implementation: Not Started
    • [ ] iOS Support
    • [ ] Android Support
    • [ ] macOS Support
    • [ ] Windows Support
  • [ ] Unit Tests: Not Started
  • [ ] Sample: Not Started
  • [ ] Documentation: Not Started

Summary

Accessibility augmentation to set the order of VisualElements for screen readers

Detailed Design

SemanticOrderView.shared.cs

public class SemanticOrderView : ContentView
{
  public static readonly BindableProperty ViewOrderProperty =
	  BindableProperty.Create(nameof(ViewOrder), typeof(IEnumerable), typeof(SemanticOrderView), Array.Empty<View>());
  
  public IEnumerable ViewOrder
  {
	  get => (IEnumerable)GetValue(ViewOrderProperty);
	  set => SetValue(ViewOrderProperty, value);
  }
  
  public SemanticOrderView()
  {
  }
}

Usage Syntax

TheCodeTraveler avatar Sep 28 '21 04:09 TheCodeTraveler

I believe this is the same case as #83 I'll ping @pureween and @rachelkang to give the final word and close this issue.

pictos avatar Oct 04 '21 22:10 pictos

I think this is superseded by all the stuff going on in .NET MAUI in terms of accessibility. Unless the above pinged people will tell us otherwise, I don't think we need this.

jfversluis avatar Oct 05 '21 09:10 jfversluis

I was wrong about this one! The SemanticEffect can go, that will go into .NET MAUI. The SemanticOrderView or something similar ideally as well, but that is some time in the future. I would like to add it to the .NET MAUI Toolkit because of that and deprecate it at a later stage when we get to add it to the .NET MAUI box.

jfversluis avatar Oct 06 '21 11:10 jfversluis

Reopening Proposal.

Only Proposals moved to the Closed Project Column and Completed Project Column can be closed.

ghost avatar Feb 28 '23 23:02 ghost