pinafore/tests/spec
Nolan Lawson 07facea505
fix: improve autosuggest a11y (#1630)
* fix: improve autosuggest a11y

some progress on #1629

- works in Chrome on NVDA now
- works in Chrome on VoiceOver now
- shorter aria-labels, don't repeat information like "1 of 3", because
it causes the screen reader to speak too frequently, e.g. when the
selected result hasn't changed but the number of results has. Also both
NVDA and VoiceOver already speak this information
- stop doing a fancy fade animation, just show and hide the input
instantly. I worry it confuses screen readers to have the aria-hidden
attribute in there at all
- stop using a single id to identify the active descendant - give
immutable IDs and then update the aria-activedescendant instead. I think
this is what fixed Chrome.

* fix test
2019-11-09 20:38:29 -05:00
..
001-basic-spec.js fix(scrolling): use body as scrolling container (#656) 2018-11-17 18:06:49 -08:00
002-login-spec.js fix: remove basic login mode for now (#1554) 2019-10-07 07:15:19 -07:00
003-basic-timeline-spec.js fix: tweaks to conversations (direct) UI (#1137) 2019-04-13 15:30:49 -07:00
004-pinned-statuses.js fix: fix aria-posinset should be 1-based (#1055) 2019-02-28 08:56:25 -08:00
005-status-types.js fix: fix aria-posinset should be 1-based (#1055) 2019-02-28 08:56:25 -08:00
006-tabindex.js fix: fix aria-posinset should be 1-based (#1055) 2019-02-28 08:56:25 -08:00
007-account-profile.js fix: more consistent toggle button aria-label/title (#1626) 2019-11-09 17:25:26 -05:00
008-status-media.js feat(media): Blurhash (#1381) 2019-08-17 10:54:45 -07:00
009-threads.js fix: fix aria-posinset should be 1-based (#1055) 2019-02-28 08:56:25 -08:00
010-focus.js fix: return focus to sensitive media button (#1535) 2019-09-24 22:31:56 -07:00
011-reblog-favorites-count.js fix: more consistent toggle button aria-label/title (#1626) 2019-11-09 17:25:26 -05:00
012-compose.js test: improve flakiness of emoji test (#1116) 2019-03-23 16:23:20 -07:00
013-compose-media.js fix: removing media should reset sensitive status (#1497) 2019-09-17 00:19:59 -07:00
014-compose-post-privacy.js test: make test less flaky (#1553) 2019-10-07 07:15:12 -07:00
015-compose-content-warnings.js fix: more consistent toggle button aria-label/title (#1626) 2019-11-09 17:25:26 -05:00
016-external-links.js fix: fix aria-posinset should be 1-based (#1055) 2019-02-28 08:56:25 -08:00
017-compose-reply.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
018-compose-autosuggest.js fix: improve autosuggest a11y (#1630) 2019-11-09 20:38:29 -05:00
019-mention.js feat(statuses): implement "Delete and redraft" (#719) 2018-12-03 23:23:29 -08:00
020-themes.js refactor(themes): use CSS specificity order for themes (#684) 2018-11-24 00:41:36 -08:00
021-followers-follows.js fix: fix aria-posinset should be 1-based (#1055) 2019-02-28 08:56:25 -08:00
022-status-aria-label.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
023-mark-media-as-sensitive.js feat(media): Blurhash (#1381) 2019-08-17 10:54:45 -07:00
024-shortcuts-navigation.js feat: left/right keys can change columns or focus (#1516) 2019-09-22 23:53:29 -07:00
025-shortcuts-status.js feat(media): Blurhash (#1381) 2019-08-17 10:54:45 -07:00
026-shortcuts-notification.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
027-share-target.js feat: implement web share target (#980) 2019-02-13 18:38:44 -08:00
028-report-ui.js test: improve flakiness of report ui test (#1117) 2019-03-23 18:16:20 -07:00
029-back-button-modal.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
030-shortcuts-modal.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
031-account-filters.js feat: add account page filters (#1124) 2019-03-30 21:48:49 -07:00
032-mute-dialog.js fix: fix dialogs within dialogs not opening (#1154) 2019-04-14 19:47:30 -07:00
033-notification-mentions.js feat: add home/notification filter settings (#1226) 2019-05-25 13:21:36 -07:00
034-home-timeline-filters.js feat: add home/notification filter settings (#1226) 2019-05-25 13:21:36 -07:00
035-notification-timeline-filters.js feat: add home/notification filter settings (#1226) 2019-05-25 13:21:36 -07:00
036-disable-infinite-load.js feat: add option to disable infinite scroll (#1253) 2019-05-28 22:46:01 -07:00
100-favorite-unfavorite.js test: improve testcafe test flakiness, use config file (#1627) 2019-11-09 17:25:33 -05:00
101-reblog-unreblog.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
102-notifications.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
103-compose.js fix: fix aria-posinset should be 1-based (#1055) 2019-02-28 08:56:25 -08:00
104-streaming.js fix: fix aria-posinset should be 1-based (#1055) 2019-02-28 08:56:25 -08:00
105-deletes.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
106-follow-requests.js fix: more consistent toggle button aria-label/title (#1626) 2019-11-09 17:25:26 -05:00
107-streaming-gap.js fix: large streaming gaps by refetching (#1362) 2019-07-28 19:38:34 -07:00
108-compose-dialog.js fix: fix aria-posinset should be 1-based (#1055) 2019-02-28 08:56:25 -08:00
109-compose-media.js feat: mark media as sensitive without a CW (#1486) 2019-09-15 10:45:46 -07:00
110-compose-content-warnings.js fix: fix lint 2019-08-19 20:23:58 -07:00
111-focus.js fix: fix aria-posinset should be 1-based (#1055) 2019-02-28 08:56:25 -08:00
112-status-links.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
113-block-unblock.js fix: more consistent toggle button aria-label/title (#1626) 2019-11-09 17:25:26 -05:00
114-mute-unmute.js fix: more consistent toggle button aria-label/title (#1626) 2019-11-09 17:25:26 -05:00
115-follow-unfollow.js fix: more consistent toggle button aria-label/title (#1626) 2019-11-09 17:25:26 -05:00
116-follow-requests.js test: make follow request test less flaky (#1558) 2019-10-08 05:59:55 -07:00
117-pin-unpin.js fix: fix aria-posinset should be 1-based (#1055) 2019-02-28 08:56:25 -08:00
118-display-name-custom-emoji.js fix: fix lint 2019-08-19 20:23:58 -07:00
119-status-counts-update.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
120-status-aria-label.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
121-delete-and-redraft.js fix: delete-and-redraft preserves sensitive status (#1496) 2019-09-17 00:19:53 -07:00
122-replies-in-thread.js fix: fix aria-posinset should be 1-based (#1055) 2019-02-28 08:56:25 -08:00
123-notification-mentions.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
124-home-timeline-filters.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
125-notification-timeline-filters.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
126-polls.js test: re-enable skipped tests, use quarantine mode (#1329) 2019-07-08 20:51:30 -07:00
127-compose-polls.js fix: more consistent toggle button aria-label/title (#1626) 2019-11-09 17:25:26 -05:00
128-disable-infinite-load.js feat: add option to disable infinite scroll (#1253) 2019-05-28 22:46:01 -07:00
129-wellness.js fix: fix disableNotificationsBadge aria-label (#1260) 2019-06-01 15:51:53 -07:00
130-focal-point.js test: re-enable skipped tests, use quarantine mode (#1329) 2019-07-08 20:51:30 -07:00
131-compose-autosuggest.js feat: add hashtag autocomplete (#1567) 2019-10-12 18:06:04 -07:00