1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-23 16:08:07 +02:00

Make the name of a control in the selection bar less verbose

Make the name less verbose for the benefit of the users of screen readers.
This commit is contained in:
David Bailes 2018-02-28 16:18:40 +00:00
parent 4474dec9c2
commit 1412f21f66

View File

@ -272,12 +272,9 @@ void SelectionBar::Populate()
_("Length and End of Selection"),
_("Length and Center of Selection"),
};
// The choice control now has a name.
// If this is less good for VI users, can go back to no name.
mChoice = safenew wxChoice
(this, ChoiceID, wxDefaultPosition, wxDefaultSize, 4, choices,
0, wxDefaultValidator, "Selection Type Chooser");
//mChoice->SetName(wxT("\a")); // stop Jaws screen reader using nearby text for name when name is empty
0, wxDefaultValidator, _("Show"));
mChoice->SetSelection(0);
#ifdef __WXGTK__
// Combo boxes are taller on Linux, and if we don't do the following, the selection toolbar will