Collapse CurrencySecondaryStatus when no text is present in the text block#467
Merged
danbelcher-MSFT merged 6 commits intomicrosoft:masterfrom Apr 23, 2019
Merged
Collapse CurrencySecondaryStatus when no text is present in the text block#467danbelcher-MSFT merged 6 commits intomicrosoft:masterfrom
danbelcher-MSFT merged 6 commits intomicrosoft:masterfrom
Conversation
Collapses the currency status textblock when the contents are empty to avoid adding an element in the accessibility tree.
danbelcher-MSFT
suggested changes
Apr 19, 2019
rudyhuyn
reviewed
Apr 20, 2019
Contributor
|
Alternative solution to solve the root cause of the issue (the narrator thinking that the textblock isn't empty because of the half space character): Only replace: by ( Tested with Narrator and with scan mode activated and with RtL |
danbelcher-MSFT
approved these changes
Apr 23, 2019
EriWong
added a commit
to EriWong/calculator
that referenced
this pull request
Jun 5, 2019
…block (microsoft#467) Fixes microsoft#313 In Scan/Item mode, Narrator focus navigates to hidden element “No next item” after “Update rates” link in "Currency Converter" window microsoft#313 Description of the changes: Adds an x:Name to the CurrencySecondaryStatus text block Adds a NormalCurrencyStatus visual state to the CurrencySecondaryStatusStates Adds functionality to the CurrencySecondaryStatusStates to show or hide the CurrencySecondaryStatus text block. How changes were validated: Verified that the textblock is not visible in the accessibility tree via inspect.exe from the windows sdk. Verified that Narrator also does not stop on the block when in scan mode. Verified that the textblock is visible in the accessibility tree and read out in Narrator when the ChargesMayApplyCurrencyStatus or FailedCurrencyStatus viewstates are set.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes #313
In Scan/Item mode, Narrator focus navigates to hidden element “No next item” after “Update rates” link in "Currency Converter" window #313
Description of the changes:
How changes were validated: