mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-29 22:15:21 -04:00
[ui] improve accessibility
* Ensure that focus is set back to a button after some operations * Remove a confusing forced focus on Start after boot type dropdown selection * Ensure that the Advanced Options and Select Image buttons have a label that can be picked up by screen readers such as nvda * Closes #243 * Closes #499
This commit is contained in:
parent
a6ec806770
commit
d593e03c2b
4 changed files with 47 additions and 40 deletions
|
@ -469,6 +469,8 @@ BOOL GetUSBDevices(DWORD devnum)
|
|||
r = TRUE;
|
||||
|
||||
out:
|
||||
// Set 'Start' as the selected button, so that tab selection works
|
||||
SendMessage(hMainDialog, WM_NEXTDLGCTL, (WPARAM)GetDlgItem(hMainDialog, IDC_START), TRUE);
|
||||
safe_free(devid_list);
|
||||
StrArrayDestroy(&dev_if_path);
|
||||
htab_destroy(&htab_devid);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue