Role.Companion

object Role.Companion


Summary

Public properties

Role

This element is a button control.

Role

This element is a Checkbox which is a component that represents two states (checked / unchecked).

Role

This element is an image.

Role

This element is a RadioButton which is a component to represent two states, selected and not selected.

Role

This element is a Switch which is a two state toggleable component that provides on/off like options.

Role

This element is a Tab which represents a single page of content using a text label and/or icon.

Public properties

Button

val ButtonRole

This element is a button control. Associated semantics properties for accessibility: SemanticsProperties.Disabled, SemanticsActions.OnClick

Checkbox

val CheckboxRole

This element is a Checkbox which is a component that represents two states (checked / unchecked). Associated semantics properties for accessibility: SemanticsProperties.Disabled, SemanticsProperties.StateDescription, SemanticsActions.OnClick

Image

val ImageRole

This element is an image. Associated semantics properties for accessibility: SemanticsProperties.ContentDescription

RadioButton

val RadioButtonRole

This element is a RadioButton which is a component to represent two states, selected and not selected. Associated semantics properties for accessibility: SemanticsProperties.Disabled, SemanticsProperties.StateDescription, SemanticsActions.OnClick

Switch

val SwitchRole

This element is a Switch which is a two state toggleable component that provides on/off like options. Associated semantics properties for accessibility: SemanticsProperties.Disabled, SemanticsProperties.StateDescription, SemanticsActions.OnClick

Tab

val TabRole

This element is a Tab which represents a single page of content using a text label and/or icon. A Tab also has two states: selected and not selected. Associated semantics properties for accessibility: SemanticsProperties.Disabled, SemanticsProperties.StateDescription, SemanticsActions.OnClick