Select to view content in your preferred language

Disable Tooltip on Search Component

244
10
Wednesday
SebastianKrings
Frequent Contributor

Hi,

there is a tooltip on the input which simply shows the previous placeholder/watermark.
Its gone, after typing any input.

I would like to disable this tooltip at all.

SebastianKrings_0-1779297631326.png

In case the locator is enabled as single source its gone and replaced by a locator message.
This shouldn't be disabled.

SebastianKrings_1-1779297708837.png

Seen on the sample here:
https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-search/

BTW:
Why dont you put samples into the docs any more as we were used to have on the old widget docs.
To be honest, I often am googlin for the widgets doc to get the samples related and their codepens.
Hope this will come back for components as well.

10 Replies
Noah-Sager
Esri Regular Contributor

Hi @SebastianKrings:


@SebastianKrings wrote:

 

1)
From our point of view a tooltip should not show te exact same information as e.g. a label or watermark. It then just duplicates the exactly same information.
How does this enhance accessibility?

Short digression: We customized actions in our apps in that way, that when they are only shown by icon, then a tooltip is activated. If there is enough space and next to the action the text enabled is set and shown, then the tooltip is deactived since it literally would show the same characters as the text already does. 


I understand the confusion with duplicated information between a tooltip and a label or placeholder text. It sounds like that's the only case where you want the ability to remove a tooltip, and you do not have use cases for editing or adding tooltips. Do I have that correct?

0 Kudos