Browse Source

Change accessibility string to say indexes like 1 of 4 rather than 1 out of 4 to match with screen reader standard behavior.

pull/886/head
masonasons 4 years ago
parent
commit
27a0b97914
  1. 4
      ExplorerPatcher/GUI.c

4
ExplorerPatcher/GUI.c

@ -91,7 +91,7 @@ void PlayHelpMessage(GUI* _this)
wszAccText, wszAccText,
1000, 1000,
L"Welcome to ExplorerPatcher. " L"Welcome to ExplorerPatcher. "
L"Selected page is: %s: %d out of %d. " L"Selected page is: %s: %d of %d. "
L"To switch pages, press the Left or Right arrow keys or press a number (%d to %d). " L"To switch pages, press the Left or Right arrow keys or press a number (%d to %d). "
L"To select an item, press the Up or Down arrow keys or Shift+Tab and Tab. " L"To select an item, press the Up or Down arrow keys or Shift+Tab and Tab. "
L"To interact with the selected item, press Space or Return. " L"To interact with the selected item, press Space or Return. "
@ -2893,7 +2893,7 @@ static BOOL GUI_Build(HDC hDC, HWND hwnd, POINT pt)
swprintf_s( swprintf_s(
wszAccText, wszAccText,
100, 100,
L"Selected page: %s: %d out of %d.", L"Selected page: %s: %d of %d.",
_this->sectionNames[_this->section], _this->sectionNames[_this->section],
_this->section + 1, _this->section + 1,
max_section + 1 max_section + 1

Loading…
Cancel
Save