Skip to content

Conversation

rerorero
Copy link
Contributor

@rerorero rerorero commented Dec 9, 2022

This PR adds setReduceTransparency function that allows to switch Reduce Transparency in accessibility preference.
Please see appium/appium#17905 for the background, and feel free to close this if this feature request doesn't make sense.

I found ReduceMotion is implemented with a different approach appium/WebDriverAgent#202
I'm not sure which way is better though, I confirmed EnhancedBackgroundContrastEnabled can be changed in runtime and reflected immediately. So I chose this way but please let me know if WDA is better then I'll try to do it.

@mykola-mokhnach mykola-mokhnach changed the title feat: add setReduceTrancparency feat: add setReduceTransparency Dec 9, 2022
@mykola-mokhnach
Copy link
Contributor

I don't think there would be a need to frequently change this setting while a session is running

@mykola-mokhnach mykola-mokhnach merged commit ef57f51 into appium:master Dec 9, 2022
github-actions bot pushed a commit that referenced this pull request Dec 9, 2022
## [4.2.0](v4.1.8...v4.2.0) (2022-12-09)

### Features

* add setReduceTransparency ([#342](#342)) ([ef57f51](ef57f51))
@github-actions
Copy link

github-actions bot commented Dec 9, 2022

🎉 This PR is included in version 4.2.0 🎉

The release is available on:

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.

2 participants