ZupIT/beagle

[iOS] Accessibility

tatianesilvazup opened this issue · 1 comments

When adding an accessibility label, the component loses its native traits.

Description

When adding an accessibility label to a component, for example a button, it loses its native traits as the default value of the isHeader parameter is false.

Steps To Reproduce

  1. Create a button
  2. Set accessibility

Expected Results

When the VoiceOver reads the component it should read "Button with accessibilityLabel, Button"

Code example, screenshot, or link to a repository:

Button(
        text = "Button"
).setAccessibility { accessibilityLabel = "Button with accessibilityLabel" }

image001
image002

Beagle code - version 1.10.1
image003

👋 @tatianesilvazup
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible and that you have followed our contributing guidelines.
We will review it as soon as possible.