jwplayer / ott-web-app

Reference implementation for JWP-powered apps
Apache License 2.0
69 stars 52 forks source link

Fix / Read title while searching (accessibility) #487

Closed langemike closed 2 months ago

langemike commented 3 months ago

This change causes the screen reader to announce the outcome of your search query while your type, to provide convenience for screen reader users. You could consider this a pragmatic typeahead implementation.

Because aria-live="polite" is used it is announced after you performed a keystroke.

Good to know:

This change is based on feedback we got from our internal accessibility auditor. He noted the following:

Visually Impaired Home Screen reader does not automatically announce the typeahead search results. Screen reader should automatically announce the typeahead search results.

langemike commented 3 months ago

I forgot to look at the e2e tests. They should be fixed now