mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-17 10:46:46 +00:00
The rows of Select by Artboards and the Variables panel, and every collapsible section header, reported their state through `WidgetInfo::selected`. egui writes that value as the node's toggled state for every role, so the accessibility tree showed these rows and headers as toggled. AccessKit keeps a list item's selection in its selected property and a disclosure control's state in its expanded property. - `widgets::list_item_info` gives a row the list item role and sets its selected property, and both lists use it. - `section_toggle_name` sets the header's expanded property, as egui's own collapsing header does. - Tests draw both lists and a section header and check the role and state of each node in the accessibility tree.