A2uiBasicCatalogV1.AccessibilityAttributes

class A2uiBasicCatalogV1.AccessibilityAttributes


Attributes to enhance accessibility of the A2UI Basic Catalog components when using assistive technologies like screen readers.

Summary

Public constructors

AccessibilityAttributes(label: String?, description: String?)

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

String?

additional information provided by assistive technologies about an element such as instructions, format requirements, or result of an action.

String?

a short string, typically 1 to 3 words, used by assistive technologies to convey the purpose or intent of an element.

Public constructors

AccessibilityAttributes

Added in 1.0.0-alpha01
AccessibilityAttributes(label: String? = null, description: String? = null)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

description

Added in 1.0.0-alpha01
val descriptionString?

additional information provided by assistive technologies about an element such as instructions, format requirements, or result of an action. For example, a mute button might have a label of 'Mute' and a description of 'Silences notifications about this conversation'. When null, no supplemental description is provided beyond the element's primary label.

label

Added in 1.0.0-alpha01
val labelString?

a short string, typically 1 to 3 words, used by assistive technologies to convey the purpose or intent of an element. For example, an input field might have an accessible label of 'User ID' or a button might be labeled 'Submit'. When null, no custom accessibility label is set, and assistive technologies fall back to the component's default text or intrinsic content.