Skip to content

Added WAI-ARIA support, issue #397 - #995

Open
ova2 wants to merge 5 commits into
twitter:masterfrom
ova2:master
Open

ova2 wants to merge 5 commits into
twitter:masterfrom
ova2:master

Conversation

@ova2

@ova2 ova2 commented Sep 10, 2014

Copy link
Copy Markdown

I've added a good WAI-ARIA support. See the issue #397. Please accept this pull request. Thanks.

@rajeshduggal

Copy link
Copy Markdown

Thanks @ova2 this is fantastic! I tested it with JAWS 14 and it works great!

@ova2

ova2 commented Oct 30, 2014

Copy link
Copy Markdown
Author

Glad to hear that is works with JAWS! I tested with ChromeVox and NVDA. It works really good. We use this in a big internet application.

@dfrencham

Copy link
Copy Markdown

I tested this with the following combinations:

Screen Readers

  • Jaws
  • NVDA

Browsers

  • IE9
  • FireFox 26
  • Chrome 39

All combinations worked correctly, except for Chrome/NVDA and Chrome/JAWS.

In the case of Chrome when the suggestions first appeared, they were not read out. When I added an additional character, they were read out correctly. Chrome seems to need the content of the "tt-status" span updated to a non empty value, then updated a second time. That triggers the DOM change event in Chrome that JAWS/NVDA use.

I'll see what changes I need to make to get this scenario to work.

@StevenACoffman

Copy link
Copy Markdown

Could this be merged? The one test failure is a quick hit.

@mejsullivan

Copy link
Copy Markdown

Hello I need to suggest an accessible typeahead, my colleague Raj (above) suggested this one, may I ask what the "one test failure" was @StevenACoffman?

@StevenACoffman

Copy link
Copy Markdown

It's trivial. Click the Travis CI build failed details and you see:

(Linux) Typeahead #destroy should revert DOM changes FAILED
    Expected '<input type="text" aria-owns="tt-aed4add3-d4d0-dea4-da72-e344b985cc2a" aria-expanded="false" class="tt-input" autocomplete="off" spellcheck="false" role="combobox" aria-autocomplete="both" style="position: relative; vertical-align: top; background-color: transparent; " dir="auto">' not to have class 'tt-input'.
PhantomJS 1.9 (Linux): Executed 230 of 230 (1 FAILED)
JS 1.9 (Linux): Executed 230 of 230 (1 FAILED) (1.013 secs / 0.846 secs)

@jharding jharding added this to the v1.0.0 milestone Apr 26, 2015
@JoeChapman

Copy link
Copy Markdown

Please can this be reopened?

@kaelig

kaelig commented May 23, 2016

Copy link
Copy Markdown

I'd love to see this work make it to a release!

@stevenao

stevenao commented Jun 4, 2016

Copy link
Copy Markdown

The build is failing on one of the unit tests. Should the unit test be updated in the PR as well?

@nickdenardis

Copy link
Copy Markdown

Any update on this? Would love to have this ability on our website.

@atainton

Copy link
Copy Markdown

Any update on this?

@kaelig

kaelig commented Nov 24, 2017

Copy link
Copy Markdown

Note that autocomplete.js (a typeahead.js fork) was made more accessible via algolia/autocomplete#148, in case someone wants to use that instead.

@CLAassistant

CLAassistant commented Jul 18, 2019 •

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.