From 1412f21f668281802babae6c176d7f7fcedf5ff8 Mon Sep 17 00:00:00 2001 From: David Bailes Date: Wed, 28 Feb 2018 16:18:40 +0000 Subject: [PATCH] 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. --- src/toolbars/SelectionBar.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/toolbars/SelectionBar.cpp b/src/toolbars/SelectionBar.cpp index e7310a423..edee45d59 100644 --- a/src/toolbars/SelectionBar.cpp +++ b/src/toolbars/SelectionBar.cpp @@ -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