mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-09 14:16:28 +01:00
Selection bar drop down list box: Fix name read by Jaws screen reader
Problem: If the accessibility name of a control is empty, Jaws may use nearly text for the name - in this case Audio position. Fix: Set the accessibility name to "\a".
This commit is contained in:
@@ -336,6 +336,7 @@ void SelectionBar::Populate()
|
||||
mChoice = safenew wxChoice
|
||||
(this, ChoiceID, wxDefaultPosition, wxDefaultSize, 4, choices,
|
||||
0, wxDefaultValidator, "");
|
||||
mChoice->SetName(wxT("\a")); // stop Jaws screen reader using nearby text for name when name is empty
|
||||
mChoice->SetSelection(0);
|
||||
mainSizer->Add(mChoice, 0, wxALIGN_TOP | wxEXPAND | wxRIGHT, 6);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user