Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Differentiate preselected from just selected text #9909

Merged
merged 1 commit into from Jul 11, 2019

Conversation

feerrenrut
Copy link
Contributor

Follow on from #9028

Link to issue number:

None

Summary of the issue:

The order of selection messages for preselected and just selected text needs to be different. When a control with preselected text gains focus, we must inform them it is selected first so they do not unintentionally modify the text. When a user intentionally selects text, the 'selected' part of the message is still important (for users who may not be familiar with a command), but the text selected is more important.

Description of how this pull request fixes the issue:

This commit differentiates and documents the differences here with helper methods to make these announcements.

Testing performed:

Selected text, confirmed that the message was "text selected"
Used run dialog to land on preselected text, confirmed the message was "selected text"

Known issues with pull request:

None

Change log entry:

None

The order of selection messages for preselected and just selected text
neesd to be different. When a control with preselected text gains focus,
we must inform them it is selected first so they do not unintentionally modify the
text. When a user intentionally selects text, the 'selected' part of the message is
still important (for users who may not be familiar with a command), but
the text selected is more important.

This commit differentiates and documents the differences here with
helper methods to make these announcements.
@feerrenrut
Copy link
Contributor Author

@lukaszgo1 You may be interested in reviewing this PR, it further modifies work you did previously to provide different message for preselected text and text just selected by the user.

Copy link
Collaborator

@LeonarddeR LeonarddeR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks ok to me.

@feerrenrut feerrenrut merged commit e1c8087 into beta Jul 11, 2019
@nvaccessAuto nvaccessAuto added this to the 2019.3 milestone Jul 11, 2019
feerrenrut added a commit that referenced this pull request Jul 11, 2019
@feerrenrut feerrenrut deleted the differentiatePreselectedTextFromJustSelectedText branch January 17, 2020 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants