Improve narrator messages of Settings page and fix some styles (#1623)
* Improve narrator screen reader messages of Settings page * Fix hyperlink styles in Settings page * Fix hover background of navigation buttons in calendar view
This commit is contained in:
@@ -30,6 +30,7 @@ namespace CalculatorApp::ViewModel::Common::Automation
|
||||
StringReference GraphViewBestFitChanged(L"GraphViewBestFitChanged");
|
||||
StringReference AlwaysOnTop(L"AlwaysOnTop");
|
||||
StringReference BitShiftRadioButtonContent(L"BitShiftRadioButtonContent");
|
||||
StringReference SettingsPageOpened(L"SettingsPageOpened");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -204,3 +205,12 @@ NarratorAnnouncement ^ CalculatorAnnouncement::GetBitShiftRadioButtonCheckedAnno
|
||||
AutomationNotificationKind::ActionCompleted,
|
||||
AutomationNotificationProcessing::ImportantMostRecent);
|
||||
}
|
||||
|
||||
NarratorAnnouncement ^ CalculatorAnnouncement::GetSettingsPageOpenedAnnouncement(Platform::String ^ announcement)
|
||||
{
|
||||
return ref new NarratorAnnouncement(
|
||||
announcement,
|
||||
CalculatorActivityIds::SettingsPageOpened,
|
||||
AutomationNotificationKind::ActionCompleted,
|
||||
AutomationNotificationProcessing::ImportantMostRecent);
|
||||
}
|
||||
|
@@ -75,5 +75,7 @@ public
|
||||
static NarratorAnnouncement ^ GetAlwaysOnTopChangedAnnouncement(Platform::String ^ announcement);
|
||||
|
||||
static NarratorAnnouncement ^ GetBitShiftRadioButtonCheckedAnnouncement(Platform::String ^ announcement);
|
||||
|
||||
static NarratorAnnouncement ^ GetSettingsPageOpenedAnnouncement(Platform::String ^ announcement);
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user