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

Adding automation names to buttons #842

Merged

Conversation

EriWong
Copy link
Contributor

@EriWong EriWong commented Dec 3, 2019

Description of the changes:

Added automation names to buttons in graphing calculator

How changes were validated:

Manually with narrator

@EriWong EriWong added the graphing calculator Work items related to the graphing calculator feature. label Dec 3, 2019
@mcooley mcooley changed the title Fixes part of #338. Adding automation names to buttons Adding automation names to buttons Dec 3, 2019
@mcooley
Copy link
Member

mcooley commented Dec 3, 2019

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@@ -190,9 +193,10 @@ void EquationTextBox::OnEquationButtonClicked(Object ^ sender, RoutedEventArgs ^

auto toolTip = ref new ToolTip();
auto resProvider = AppResourceProvider::GetInstance();
toolTip->Content = m_equationButton->IsChecked->Value ? resProvider->GetResourceString(L"showEquationButtonToolTip") : resProvider->GetResourceString(L"hideEquationButtonToolTip");

auto equationButtonMessage = m_equationButton->IsChecked->Value ? resProvider->GetResourceString(L"showEquationButtonToolTip") : resProvider->GetResourceString(L"hideEquationButtonToolTip");
Copy link
Contributor

Choose a reason for hiding this comment

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

Consider renaming since these are for narrator.

Copy link
Contributor

Choose a reason for hiding this comment

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

And for the below names.

@ghost ghost added the needs author feedback label Dec 4, 2019
Copy link
Contributor

@sanderl sanderl left a comment

Choose a reason for hiding this comment

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

Can you update the string names to be more generic so they can be used for both tooltips and narrator?

@EriWong EriWong merged commit 36327b7 into microsoft:feature/GraphingCalculator Dec 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
graphing calculator Work items related to the graphing calculator feature. needs author feedback
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants