From 199a943177fdb7ae32da18ac8d96650e9ff7f326 Mon Sep 17 00:00:00 2001 From: Joe Wegner Date: Tue, 20 Aug 2019 09:40:20 -0400 Subject: [PATCH] Set accessibility description of filter field so screenreaders can tell users where they are --- app/src/cc/arduino/contributions/ui/InstallerJDialog.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/cc/arduino/contributions/ui/InstallerJDialog.java b/app/src/cc/arduino/contributions/ui/InstallerJDialog.java index 9aa0cd70e2f..dd2998bc441 100644 --- a/app/src/cc/arduino/contributions/ui/InstallerJDialog.java +++ b/app/src/cc/arduino/contributions/ui/InstallerJDialog.java @@ -133,6 +133,7 @@ protected void onFilter(String[] _filters) { updateIndexFilter(filters, categoryFilter); } }; + filterField.getAccessibleContext().setAccessibleDescription(tr("Search Filter")); // Add cut/copy/paste contextual menu to the search filter input field. JPopupMenu menu = new JPopupMenu();