Skip to content

Commit 6e48084

Browse files
docs(ui5-element): label property for accessibilityInfo added (#12742)
Co-authored-by: stoyanovski <[email protected]>
1 parent 78cf6f3 commit 6e48084

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/base/src/types.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,12 @@ export type AccessibilityInfo = {
3434
// A translated text that represents the component type.
3535
type?: string,
3636

37-
// A translated text that represents relevant component description/state - value, placeholder, label, etc.
37+
// A translated text that represents relevant component description/state - value, placeholder, etc.
3838
description?: string,
3939

40+
// Label of the component, e.g. `accessible-name` or `accessible-name-ref` for form elements.
41+
label?: string,
42+
4043
// Disabled state of the component.
4144
disabled?: boolean,
4245

0 commit comments

Comments
 (0)