In #GTK, what's the best way to report a `Adw.EntryRow` having failed validation? I can set the `error` style class, but I don't see a way to set an (accessible) error message. My current workaround is to add a popover to the suffix of each row that has a selectable label on the inside with an alert role (which Orca then reads), but that doesn't really sound like the right way ...
This entry was edited (2 months ago)
Emmanuele Bassi
in reply to Felicitas Pojtinger 🌅 • • •Notify that a gtk.entry has invalid value
GNOME DiscourseFelicitas Pojtinger 🌅
in reply to Emmanuele Bassi • • •Emmanuele Bassi
in reply to Felicitas Pojtinger 🌅 • • •Gtk.AccessibleProperty.DESCRIPTION, for use with Gtk.Accessible.update_property(); or <accessibility><property name="description">...</property></accessibility> for UI definition files.
By default, we use the tooltip text as well, as a fallback value for the accessible description, but it's better to have an actual description.
Felicitas Pojtinger 🌅
in reply to Emmanuele Bassi • • •