AccessibleRole
from slint.language import AccessibleRolepython
This enum represents the different values for the accessible-role property, used to describe the
role of an element in the context of assistive technology such as screen readers.
In addition to widget roles, this enum includes landmark roles (banner, complementary,
content-info, form, main, navigation, region, search).
Landmarks identify large content areas that screen reader users can jump between,
giving the application a navigable structure similar to headings in a document.
See WAI-ARIA Landmark Regions ↗
for guidance on when and how to use them.
Values
Section titled “Values”none— The element isn’t accessible.button— The element is aButtonor behaves like one.checkbox— The element is aCheckBoxor behaves like one.combobox— The element is aComboBoxor behaves like one.groupbox— The element is aGroupBoxor behaves like one.image— The element is anImageor behaves like one. This is automatically applied toImageelements.list— The element is aListViewor behaves like one.slider— The element is aSlideror behaves like one.spinbox— The element is aSpinBoxor behaves like one.tab— The element is aTabor behaves like one.tab_list— The element is similar to the tab bar in aTabWidget.tab_panel— The element is a container for tab content.text— The role for aTextelement. This is automatically applied toTextelements.table— The role for aTableViewor behaves like one.tree— The role for a TreeView or behaves like one. (Not provided yet)progress_indicator— The element is aProgressIndicatoror behaves like one.text_input— The role for widget with editable text such as aLineEditor aTextEdit. This is automatically applied toTextInputelements.switch— The element is aSwitchor behaves like one.list_item— The element is an item in aListView.radio_button— The element is aRadioButtonor behaves like one.radio_group— The element is a container grouping relatedRadioButtons.banner— Landmark: the header area of the application, typically containing a logo, title, or global navigation.complementary— Landmark: a supporting section that complements the main content, such as a sidebar.content_info— Landmark: information about the application or its content, typically at the bottom (e.g. status bar, copyright).form— Landmark: a region containing input fields and controls for submitting information.main— Landmark: the primary content of the application. Each view should have exactly onemainlandmark.navigation— Landmark: a group of links or controls used for navigating the application.region— Landmark: a generic section significant enough to be listed in a summary. Use a more specific landmark if one applies.search— Landmark: a region containing controls for searching or filtering content.
© 2026 SixtyFPS GmbH