File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 39
39
<span id =" {{ _id }} -suggestionsText" class =" ui5-hidden-text" >{{ suggestionsText }} </span >
40
40
{{ /if }}
41
41
42
- {{ #if accInfo.input.ariaDescribedBy }}
43
- <span id =" {{ accInfo.input.ariaDescribedBy }} " class =" ui5-hidden-text" >{{ accInfo.input.ariaDescription }} </span >
42
+ {{ #if accInfo.input.ariaDescription }}
43
+ <span id =" {{ _id }} -descr " class =" ui5-hidden-text" >{{ accInfo.input.ariaDescription }} </span >
44
44
{{ /if }}
45
45
46
46
{{ #if hasValueState }}
47
- <span id =" {{ _id }} -descr " class =" ui5-hidden-text" >{{ valueStateText }} </span >
47
+ <span id =" {{ _id }} -valueStateDesc " class =" ui5-hidden-text" >{{ valueStateText }} </span >
48
48
{{ /if }}
49
49
</div >
50
50
Original file line number Diff line number Diff line change @@ -586,7 +586,7 @@ class Input extends UI5Element {
586
586
}
587
587
588
588
get valueStateTextId ( ) {
589
- return this . hasValueState ? `${ this . _id } -descr ` : "" ;
589
+ return this . hasValueState ? `${ this . _id } -valueStateDesc ` : "" ;
590
590
}
591
591
592
592
get accInfo ( ) {
@@ -596,10 +596,10 @@ class Input extends UI5Element {
596
596
"wrapper" : {
597
597
} ,
598
598
"input" : {
599
- "ariaDescribedBy" : this . _inputAccInfo ? `${ this . suggestionsTextId } ${ this . valueStateTextId } ${ this . _inputAccInfo . ariaDescribedBy } ` . trim ( ) : `${ this . suggestionsTextId } ${ this . valueStateTextId } ` . trim ( ) ,
599
+ "ariaDescribedBy" : this . _inputAccInfo . ariaDescribedBy ? `${ this . suggestionsTextId } ${ this . valueStateTextId } ${ this . _inputAccInfo . ariaDescribedBy } ` . trim ( ) : `${ this . suggestionsTextId } ${ this . valueStateTextId } ` . trim ( ) ,
600
600
"ariaInvalid" : this . valueState === ValueState . Error ? "true" : undefined ,
601
- "ariaHasPopup" : this . _inputAccInfo ? this . _inputAccInfo . ariaHasPopup : ariaHasPopupDefault ,
602
- "ariaAutoComplete" : this . _inputAccInfo ? this . _inputAccInfo . ariaAutoComplete : ariaAutoCompleteDefault ,
601
+ "ariaHasPopup" : this . _inputAccInfo . ariaHasPopup ? this . _inputAccInfo . ariaHasPopup : ariaHasPopupDefault ,
602
+ "ariaAutoComplete" : this . _inputAccInfo . ariaAutoComplete ? this . _inputAccInfo . ariaAutoComplete : ariaAutoCompleteDefault ,
603
603
"role" : this . _inputAccInfo && this . _inputAccInfo . role ,
604
604
"ariaOwns" : this . _inputAccInfo && this . _inputAccInfo . ariaOwns ,
605
605
"ariaExpanded" : this . _inputAccInfo && this . _inputAccInfo . ariaExpanded ,
You can’t perform that action at this time.
0 commit comments