You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For accessibility purpose, it is often necessary to express a relationship between two elements in the UI. Type of relations include "labelled by", "described by", "controls"... Some of these relationships are actually many-to-one (e.g. one element can be labelled by multiple other elements). To my knowledge Slint doesn't yet have such kind of properties, neither in its language nor runtime. So I'm opening this issue to track implementation of these properties, so we can build richer accessible interfaces.
Here is how the built-in GroupBox component could benefit from this by indicating that the label displaying its title actually labels the root component:
Of course, it should be then possible to obtain an accesskit::NodeId from such references, so that it can be passed to the various methods of accesskit::NodeBuilder (e.g. push_labelled_by, push_controls...).
The text was updated successfully, but these errors were encountered:
For accessibility purpose, it is often necessary to express a relationship between two elements in the UI. Type of relations include "labelled by", "described by", "controls"... Some of these relationships are actually many-to-one (e.g. one element can be labelled by multiple other elements). To my knowledge Slint doesn't yet have such kind of properties, neither in its language nor runtime. So I'm opening this issue to track implementation of these properties, so we can build richer accessible interfaces.
Here is how the built-in
GroupBox
component could benefit from this by indicating that the label displaying its title actually labels the root component:And here is how the
ScrollView
component could be improved by indicating that its scrollbars control the scrolling of the content:Of course, it should be then possible to obtain an
accesskit::NodeId
from such references, so that it can be passed to the various methods ofaccesskit::NodeBuilder
(e.g.push_labelled_by
,push_controls
...).The text was updated successfully, but these errors were encountered: