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

Improving accessibility of dialog for entering the name of a new chain. Jaws does not read the text in the dialog by default, and the accessibility names of the controls in the dialog cannot be set, so the best that can be done is to have a meaningful title for the dialog, and set the accessibility name of the dialog so that nvda can read it.

This commit is contained in:
David Bailes 2015-05-12 09:29:55 +01:00
parent ff0cd7c347
commit 3000594d2f

View File

@ -710,7 +710,8 @@ void EditChainsDialog::OnAdd(wxCommandEvent & WXUNUSED(event))
while (true) {
wxTextEntryDialog d(this,
_("Enter name of new chain"),
GetTitle());
_("Name of new chain"));
d.SetName(d.GetTitle());
wxString name;
if (d.ShowModal() == wxID_CANCEL) {