Commit 13e0224
Andrew Butterfield
Close buttons in list are more friendly to a11y
fixes CNVS-19259
Test plan:
* Generate a thread of conversation messages between a number of users
* if you don't have one already
* Navigate to Inbox
* Click on a message that has a string of replies
* Open the reply modal of this message
* Ensure that when you press enter or space bar (via keyboard) when the
the circle x's of context messages have focus that the following behavior
occurs
* If focus is on the circle x of the top context message and you press
space bar or enter, focus should go to the circle x of the next
context message
* If focus is on the circle x of a context message that has context messages
before it and you press space bar or enter, focus should go to the circle
x of the context message just before it
* If focus is on the circle x of the last context message and you
press space bar or enter, focus should go to the attachments button
in the footer of the modal
* Ensure that this behavior still occurs when navigating the modal using
* a screen reader
Change-Id: Iad596b76fe0c30abb785e9287938b87d973673de
Reviewed-on: https://gerrit.instructure.com/50675
Tested-by: Jenkins
Reviewed-by: Jonathan Featherstone <jfeatherstone@instructure.com>
QA-Review: Derek Hansen <dhansen@instructure.com>
Product-Review: Cosme Salazar <cosme@instructure.com>1 parent 9df3934 commit 13e0224
5 files changed
Lines changed: 36 additions & 2 deletions
File tree
- app
- coffeescripts/views/conversations
- stylesheets/pages/conversations
- views/jst/conversations
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
295 | 302 | | |
296 | 303 | | |
297 | 304 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
0 commit comments