Skip to content

Windows accessibility - code architecture & layout adjustments#31

Merged
BartoszKlonowski merged 4 commits intomainfrom
feature-windows-accessibility-adjustments
Jul 14, 2021
Merged

Windows accessibility - code architecture & layout adjustments#31
BartoszKlonowski merged 4 commits intomainfrom
feature-windows-accessibility-adjustments

Conversation

@BartoszKlonowski
Copy link
Copy Markdown
Member

This pull request closes #30

It delivers changes to the layout and architecture solution to make the application be possible for connection with the Settings of Windows OS.


The changes are:

  • Used event-based approach to settings of the application
    Settings of the application can be connected with those in the Windows OS, so each change (no matter if in settings screen on Windows settings) should be available immediately.
    This change also improves the application performance as it gets rid of too many callbacks issue.
  • Layout adjustments
    Sometimes when text size is changed in the Windows settings, the text in the application can stop fitting into the layout making application to look bad.
    To ensure that text will fit always, the styles are mostly changed.
  • Navigation panel is provided with names for the tags

Accessibility

More information in the commit messages.


Why is the text on buttons still not visible enough?
That is because I used <Button/> instead of <TouchableHighlight/> and buttons offer much less flexibility and customization than other clickable widgets. Changing that would require more time than I have currently.

The `Name` property is used to control the item of a XAML layout in the
code-behind of a Page.
Thsi way it is possible to set its style and properties when they are
changed in the Settings.
When text size changes and the font is replaced, the text needs to have
enough space to fit in the layout after Settings.
To do that some `styles` have been modified to let the text adjust
easily to Settings.
@BartoszKlonowski BartoszKlonowski added the enhancement New feature or request label Jul 13, 2021
@BartoszKlonowski BartoszKlonowski merged commit 6affd90 into main Jul 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Accessibility - adjust to the Windows Settings

1 participant