Skip to content

Commit eeb22d6

Browse files
authored
chore: change selectedLabel to selectedAriaLabel (#4091)
1 parent 6d73d51 commit eeb22d6

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

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

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

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)