Commit 274908a
committed
Enchance a11y on dashboard activity feed
Fixes CNVS-14501
Makes the show/hide more and remove options in the dashboard activity
feed show all the time, not just on mouseover, in order to improve
keyboard a11y.
Adds aria-label to the context link informing a screenreader user where
that link is going to go.
Test Plan:
1) Give yourself at least one announcement, conversation message,
assignment notification, and discussion. Easiest way is to create a
a course and add an announcement, send a message to yourself from
another user, add an assignment, and add a discussion.
2) Visit the dashboard (localhost:3000/)
3) Verify that the list of notifications is navigable with the keyboard
only, because you can see from the get go that the 'show more' option
and remove/ignore option.
4) Using a screenreader, navigate to the notification heading, then onto
the course name link. Verify that you hear label text like
"Visit Course Discussions" or similar. This should help SR users only
click that option if that's what they want, so they keep looking for
the "Show More" option (it's one link further through the tab flow) if
that's what they want instead.
Change-Id: I0726510a351f16768d98657e9891cb7a1c162be3
Reviewed-on: https://gerrit.instructure.com/41417
Reviewed-by: Joel Hough <joel@instructure.com>
Product-Review: Aaron Cannon <acannon@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Steven Shepherd <sshepherd@instructure.com>1 parent fabc01a commit 274908a
2 files changed
Lines changed: 22 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
80 | 97 | | |
81 | 98 | | |
82 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
| 65 | + | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | 69 | | |
73 | 70 | | |
74 | 71 | | |
| |||
82 | 79 | | |
83 | 80 | | |
84 | 81 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | 82 | | |
89 | 83 | | |
90 | 84 | | |
| |||
98 | 92 | | |
99 | 93 | | |
100 | 94 | | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
| 95 | + | |
| 96 | + | |
106 | 97 | | |
107 | 98 | | |
108 | 99 | | |
| |||
0 commit comments