use atk labelee labeler relations where possible
Submitted by vladimir benes
there is a possibility to set very basic atk relation between labels and text entries. These can be consumed by onscreen readers and automation frameworks. Just for example Username label and text entry in express install window or Name and text entry in Preferences tab.
in dogtail we use like this. https://zmc.fedorapeople.org/dogtail/epydoc/dogtail.tree-pysrc.html#Node._labeler
in code: root.application('gnome-boxes').child("Username").labelee.click()