a11y: Add accessibility to the keyboard layout

When pressing a key, a popup with all the possible combinations is shown, but the screen reader doesn't read it.

This patch generates a description of the popup and uses the gtk_accessible_announce() method to say it.

This SRU differs from upstream in that it uses view instead of popover to call the gtk_accessible_announce() method, because the current upstream code doesn't work in Gtk 4.14. A patch with that change has been sent to upstream https://gitlab.gnome.org/GNOME/tecla/-/merge_requests/33/

Fix: LP #2116166

Origin: https://gitlab.gnome.org/GNOME/tecla/-/merge_requests/32
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/tecla/+bug/2116166

Edited by Sergio Costas

Merge request reports

Loading