mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-06 20:03:12 +00:00
feat(accessibility): add screen reader support for chat list
Expose painted dialog rows as virtual accessibility children so screen readers can navigate the chat list. Each row reports: chat type, name, badges, status, last message preview, delivery status, reactions, stories, and more. Multi-column sub-items provide structured per-field access.
This commit is contained in:
committed by
John Preston
parent
2573a145eb
commit
dd98fd67d3
@@ -4184,6 +4184,8 @@ void Widget::keyPressEvent(QKeyEvent *e) {
|
||||
} else {
|
||||
_inner->selectSkipPage(_scroll->height(), -1);
|
||||
}
|
||||
} else if (e->key() == Qt::Key_Space && !_suggestions) {
|
||||
_inner->toggleRowSelection();
|
||||
} else if (redirectKeyToSearch(e)) {
|
||||
// This delay in search focus processing allows us not to create
|
||||
// _suggestions in case the event inserts some non-whitespace search
|
||||
|
||||
Reference in New Issue
Block a user