mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-21 00:23:56 +08:00
feat(accessibility): add screen reader support for message list
This commit is contained in:
committed by
John Preston
parent
7113392f9b
commit
4e4eeeefb9
@@ -5863,6 +5863,8 @@ void InnerWidget::announceSelectedFocus() {
|
||||
}
|
||||
|
||||
Ui::AccessibilityState InnerWidget::accessibilityState() const {
|
||||
// Mark the List container as non-focusable so screen readers
|
||||
// drill down to the focusable child items (ListItem rows).
|
||||
return {};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user