mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
feat(accessibility): add accessible name to search button in narrow layout
The search icon button shown when the filters sidebar is active had no accessible name, making it appear as an unnamed button to screen readers.
This commit is contained in:
committed by
John Preston
parent
9dc236b685
commit
827bd7c9a9
@@ -609,6 +609,7 @@ Widget::Widget(
|
||||
setupStories();
|
||||
}
|
||||
|
||||
_searchForNarrowLayout->setAccessibleName(tr::lng_dlg_filter(tr::now));
|
||||
_searchForNarrowLayout->setClickedCallback([=] {
|
||||
_search->setFocusFast();
|
||||
if (_childList) {
|
||||
|
||||
Reference in New Issue
Block a user