Xamarin.forms: [Bug] Support for Accessibility automation properties on iOS is removed for Layouts starting from 4.0.0.346134-pre9

Created on 2 Aug 2019  路  2Comments  路  Source: xamarin/Xamarin.Forms

Description

Starting with 4.0.0.346134-pre9, accessibility no longer works on iOS for layouts

Steps to Reproduce

  1. Create a simple layout page with automation properties as below.
<StackLayout
     AutomationId="Test"
     AutomationProperties.IsInAccessibleTree="True"
     AutomationProperties.Name="Test at layout">
     <Label 
       FontSize="18"
       Text="Test label" />
</StackLayout>
  1. Launch this page on iPhone.
  2. Enable accessibility voice over feature on iPhone
  3. Note the missing support

    Expected Behavior

The stack layout in the above example has accessibility text read out. Also it should be visible in XCode Accessibility Inspector.

Actual Behavior

The stack layout in the above example has accessibility text but it is not supported.

Basic Information

  • Version with issue: Starting with 4.0.0.346134-pre9 and above
  • Last known good version: 4.0.0.304370-pre8
  • IDE: Any
  • Platform Target Frameworks:

    • iOS: 12.10.0.157

  • Nuget Packages:4.0.0.346134-pre9 and above
  • Affected Devices: All iOS devices

Screenshots

Reproduction Link

a11y 馃攳 4 regression iOS 馃崕 bug

Most helpful comment

Confirmed that it worked (differently) in 4.0-pre8 than it does today.

Repro7053.zip

All 2 comments

Confirmed that it worked (differently) in 4.0-pre8 than it does today.

Repro7053.zip

Was this page helpful?
0 / 5 - 0 ratings