WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 56d2b80

Browse files
committed
chore: change selectedLabel to selectedAriaLabel
1 parent 83500f3 commit 56d2b80

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/__tests__/snapshot-tests/__snapshots__/documenter.test.ts.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3528,7 +3528,7 @@ Use the \`onLoadItems\` event to perform a recovery action (for example, retryin
35283528
"description": "Overrides the element that is announced to screen readers
35293529
when the highlighted option changes. By default, this announces
35303530
the option's name and properties, and its selected state if
3531-
the \`selectedLabel\` property is defined.
3531+
the \`selectedAriaLabel\` property is defined.
35323532
The highlighted option is provided, and its group (if groups
35333533
are used and it differs from the group of the previously highlighted option).
35343534

@@ -17608,7 +17608,7 @@ Use the \`onLoadItems\` event to perform a recovery action (for example, retryin
1760817608
"description": "Overrides the element that is announced to screen readers
1760917609
when the highlighted option changes. By default, this announces
1761017610
the option's name and properties, and its selected state if
17611-
the \`selectedLabel\` property is defined.
17611+
the \`selectedAriaLabel\` property is defined.
1761217612
The highlighted option is provided, and its group (if groups
1761317613
are used and it differs from the group of the previously highlighted option).
1761417614

@@ -22917,7 +22917,7 @@ Use the \`onLoadItems\` event to perform a recovery action (for example, retryin
2291722917
"description": "Overrides the element that is announced to screen readers
2291822918
when the highlighted option changes. By default, this announces
2291922919
the option's name and properties, and its selected state if
22920-
the \`selectedLabel\` property is defined.
22920+
the \`selectedAriaLabel\` property is defined.
2292122921
The highlighted option is provided, and its group (if groups
2292222922
are used and it differs from the group of the previously highlighted option).
2292322923

src/autosuggest/interfaces.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export interface AutosuggestProps
117117
* Overrides the element that is announced to screen readers
118118
* when the highlighted option changes. By default, this announces
119119
* the option's name and properties, and its selected state if
120-
* the `selectedLabel` property is defined.
120+
* the `selectedAriaLabel` property is defined.
121121
* The highlighted option is provided, and its group (if groups
122122
* are used and it differs from the group of the previously highlighted option).
123123
*

src/select/interfaces.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export interface BaseSelectProps
126126
* Overrides the element that is announced to screen readers
127127
* when the highlighted option changes. By default, this announces
128128
* the option's name and properties, and its selected state if
129-
* the `selectedLabel` property is defined.
129+
* the `selectedAriaLabel` property is defined.
130130
* The highlighted option is provided, and its group (if groups
131131
* are used and it differs from the group of the previously highlighted option).
132132
*

0 commit comments

Comments
 (0)