I’m doing some fixes for accessibility in Gnome Shell/GDM and I need to inform the user about the number of rows/columns (or, at least, the number of elements) in a grid container, but I’m unable to achieve it. In GTK4 is quite easy. How should I do it in Clutter/ST+ATK? Do I have to implement the Table and TableCell interfaces?
What roles do you currently have? Can you actually reproduce the desired behavior in Gtk 4, or do you only hope from the docs?
If you have a Gtk 4 example which is read properly, I’d dump the tree (Orca has something for that in the tools directory, or use accerciser), and go from that.
Mmm… this is odd… some months ago, the gnome-control-center application did specify how many colors were in the grouping for the accent colors, in the Appearance section, but now it doesn’t… (it said something like “grouping with seven elements”).
Ok, I got a case: in gnome-control-center for Gnome Shell 49, section Accessibility, the “High contrast” switch container (an Adw.ActionRow) says “List with one element” when focused.
Ok, this is, but as commented, it’s not right: it says “List with one item” and then specifies the first element.
I tested in Gnome 50 and this is the content:
It’s the same, it has a list too, but no “list with X elements” is said…
Tried reverting orca to version 49.1, but it fails too… maybe something in Gtk?
Ok, the change is in gnome-control-center… I’ll try to find where did it “break”.
Found the solution: put LIST role to the container, and LIST_ITEM to each child. Thanks!!!

