@@ -17,7 +17,7 @@ import {
17
17
import type { ITabbable } from "@ui5/webcomponents-base/dist/delegate/ItemNavigation.js" ;
18
18
import { getScopedVarName } from "@ui5/webcomponents-base/dist/CustomElementsScope.js" ;
19
19
import type { IFormInputElement } from "@ui5/webcomponents-base/dist/features/InputElementsFormSupport.js" ;
20
- import { MULTIINPUT_ROLEDESCRIPTION_TEXT , MULTIINPUT_VALUE_HELP_LABEL } from "./generated/i18n/i18n-defaults.js" ;
20
+ import { MULTIINPUT_ROLEDESCRIPTION_TEXT , MULTIINPUT_VALUE_HELP_LABEL , MULTIINPUT_VALUE_HELP } from "./generated/i18n/i18n-defaults.js" ;
21
21
import Input from "./Input.js" ;
22
22
import MultiInputTemplate from "./MultiInputTemplate.js" ;
23
23
import styles from "./generated/themes/MultiInput.css.js" ;
@@ -364,10 +364,18 @@ class MultiInput extends Input implements IFormInputElement {
364
364
return getTokensCountText ( this . tokens . length ) ;
365
365
}
366
366
367
+ get _valueHelpText ( ) {
368
+ return MultiInput . i18nBundle . getText ( MULTIINPUT_VALUE_HELP ) ;
369
+ }
370
+
367
371
get _tokensCountTextId ( ) {
368
372
return `hiddenText-nMore` ;
369
373
}
370
374
375
+ get _valueHelpTextId ( ) {
376
+ return this . showValueHelpIcon ? `hiddenText-value-help` : "" ;
377
+ }
378
+
371
379
/**
372
380
* Returns the placeholder value when there are no tokens.
373
381
* @protected
@@ -381,7 +389,7 @@ class MultiInput extends Input implements IFormInputElement {
381
389
}
382
390
383
391
get accInfo ( ) {
384
- const ariaDescribedBy = `${ this . _tokensCountTextId } ${ this . suggestionsTextId } ${ this . valueStateTextId } ` . trim ( ) ;
392
+ const ariaDescribedBy = `${ this . _tokensCountTextId } ${ this . suggestionsTextId } ${ this . valueStateTextId } ${ this . _valueHelpTextId } ` . trim ( ) ;
385
393
return {
386
394
...super . accInfo ,
387
395
"ariaRoledescription" : this . ariaRoleDescription ,
0 commit comments