Add support for accessibility profiles #785
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Description
This PR adds support for accessibility profiles. An accessibility profile is a list of settings and suggested values. Applying the profile will toggle the settings to the suggested values. Note that applying a profile doesn't lock you in to those settings; you may still manually set anything. Also the profile can be applied any time or any number of times. It is essentially just a "baseline".
In the UI, each profile displays a description (why one might want to use this profile) as well as a list of the settings and values.
Once the framework is in place, it will be very easy to add new profiles (you essentially just create a widget, and pass the list of settings and desired values), and we can solicit these from the community. To start, this PR intoduces one initial profile for Screen Readers with the settings suggested in #778.
@shortwavesurfer2009 Can you take a look and let us know if this is what you had in mind based on our discussion?
Issue Being Fixed
Issue Number: #778
Screenshots / Recordings
qemu-system-x86_64_Rs4211haPy.mp4
Checklist
semanticLabel
s where applicable for accessibility?