accessible-autocomplete
accessible-autocomplete copied to clipboard
Is there anyway to make the assistiveHint attribute optional?
I would like to remove the assistiveHint text
"When autocomplete results are available use up and down arrows to review and enter to select. Touch device users, explore by touch or with swipe gestures."
and the related aria-describedby being rendered. Is this an option.
Alternatively could we make it visible and styled
You probably want to use the tAssistiveHint option. I imagine you could provide your own function that just returns an empty string. Note you'd want to test this works as you intend as I expect the aria-describedBy
might still get populated.
As noted on your comment in the other thread, if you want to show something visually you'd need to add this yourself.