UKHomeOffice / typeahead-aria

typeahead.js is a fast and fully-featured autocomplete library
http://twitter.github.com/UKHomeOffice/typeahead.js/
MIT License
9 stars 3 forks source link

Typeahead does not work using VoiceOver #4

Open amyeverett1 opened 8 years ago

amyeverett1 commented 8 years ago

Please see attached video in ZIP file.

The typeahead does not correctly read out country options available to the user. Seems to read part of the country name or sometimes just a random selection of letters from another country in the list.

typeahead.mp4.zip

amyeverett1 commented 8 years ago

For reference, using iOS Chrome v54.0

colinrotherham commented 7 years ago

Hi @amyeverett1, do you have highlight: true set in your options?

That adds markup that styles fragments of the results names (to highlight the bits that match your search keywords). Turning that off could help?

I've opened a pull request here to merge in a lot of bug fixes from another fork: https://github.com/UKHomeOffice/typeahead-aria/pull/8

That could help too.

amyeverett1 commented 7 years ago

Thanks @colinrotherham - I'll ask the devs if they can take a look and see if your bug fixes / adding in highlight:true fixes the issue. :)

colinrotherham commented 7 years ago

@amyeverett1 No problem. Try without highlight: true or highlight: false though, I think it's the highlighting that's probably fragmenting what VoiceOver reads.