Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 199a943

Browse files
Joe Wegnerfacchinm
Joe Wegner
authored andcommitted
Set accessibility description of filter field so screenreaders can tell users where they are
1 parent a740021 commit 199a943

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/cc/arduino/contributions/ui/InstallerJDialog.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ protected void onFilter(String[] _filters) {
133133
updateIndexFilter(filters, categoryFilter);
134134
}
135135
};
136+
filterField.getAccessibleContext().setAccessibleDescription(tr("Search Filter"));
136137

137138
// Add cut/copy/paste contextual menu to the search filter input field.
138139
JPopupMenu menu = new JPopupMenu();

0 commit comments

Comments
 (0)