cashapp / AccessibilitySnapshot

Easy regression testing for iOS accessibility

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Provide higher contrast marker labels for host applications set to dark mode

nononoah opened this issue · comments

Warning: I have not yet verified if this is reproducible outside of my test application.

When testing in host applications with a user interface style of dark, it appears that accessibility snapshots produce rather low contrast marker labels.

In light mode:
testVariants accessibility

In dark mode:
testVariants accessibility

Ideally, we'd use a text color which is better guaranteed to contrast.

Ahh good find! I always run test host applications in light mode, so totally missed it was defaulting to a dynamic color. Thanks for the bug report!