@digitransit-component/digitransit-component-autosuggest 11.0.7 → 11.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -16276,15 +16276,15 @@ function DTAutosuggest({
16276
16276
  },
16277
16277
  children: [icon && /*#__PURE__*/jsx("div", {
16278
16278
  className: cx(styles['autosuggest-input-icon'], styles[id], inputClassName && styles[`${inputClassName}-input-icon`]),
16279
- "aria-label": ariaRequiredText.concat(' ').concat(SearchBarId).concat(' ').concat(t('search-autosuggest-label', {
16280
- lng
16281
- })),
16279
+ "aria-hidden": "true",
16282
16280
  children: /*#__PURE__*/jsx(Icon, {
16283
16281
  img: `${icon}`
16284
16282
  })
16285
16283
  }), /*#__PURE__*/jsx(Input, {
16286
16284
  inputClassName: inputClassName,
16287
- ariaLabel: ariaCurrentSuggestion.concat(' ').concat(ariaRequiredText).concat(' ').concat(SearchBarId).concat(' ').concat(ariaLabelText),
16285
+ ariaLabel: ariaCurrentSuggestion.concat(' ').concat(ariaRequiredText).concat(' ').concat(SearchBarId).concat(' ').concat(t('search-autosuggest-label', {
16286
+ lng
16287
+ })).concat(' ').concat(ariaLabelText),
16288
16288
  id: id,
16289
16289
  lng: lng,
16290
16290
  getInputProps: getInputProps,