Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(EmptyState): Missing accesiblity IDS in Empty state. Fix wrong color on InputField borders - SMARTWIFI-3416 #161

Merged
merged 3 commits into from
Jan 27, 2022

Conversation

pbartolome
Copy link
Contributor

@pbartolome pbartolome commented Jan 26, 2022

Appium, wasn't able to see elements in the EmptyState as the accesibility elements were being overriden with the accessibilityElements array. With these fixes now Appium can detect all elements inside the EmptyState, and voiceover still reads the text as a single element (it doesn't jump from one label to the next)

image

  • Bonus fix: InputField.swift was using the incorrect color for the border

This code will be used to generate a "maintenance" mistica version v14.2.1, this PR is to add the fix also in main

@pbartolome pbartolome requested review from a team, DavidMarinCalleja and alexanegon and removed request for a team January 26, 2022 12:09
@github-actions
Copy link

github-actions bot commented Jan 26, 2022

Screenshot tests report

✔️ All passing

@@ -113,6 +104,7 @@ extension EmptyStateContentBase {
iconImage.accessibilityIdentifier
}
set {
iconImage.isAccessibilityElement = true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't know this property, good work!

@pbartolome pbartolome merged commit 4c61058 into main Jan 27, 2022
@pbartolome pbartolome deleted the sw/mistica-issues-14.2.1 branch January 27, 2022 10:09
tuentisre pushed a commit that referenced this pull request Feb 15, 2022
# [15.2.0](v15.1.0...v15.2.0) (2022-02-15)

### Bug Fixes

* **EmptyState:** Missing accesiblity IDS in Empty state. Fix wrong color on InputField borders - SMARTWIFI-3416 ([#161](#161)) ([4c61058](4c61058))

### Features

* **Feedback:** IOS-7228 Updating feedback success/error lottie animations ([#164](#164)) ([bb378eb](bb378eb))
@tuentisre
Copy link
Collaborator

🎉 This PR is included in version 15.2.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants