Skip to content

Commit df8aaf3

Browse files
JKHigginsmcwqy9
authored andcommitted
Shows the open message button on focus
Fixes: CNVS-14503 Makes the open message button visible on focus. Only focusable via the keyboard tabbing Test-Plan: 1.) Make sure you have some messages sent to the user you are currently logged in as 2.) Navigate to conversation messages("Inbox") 3.) Tab through content until you are at the messages --Easiest way is to "skip to content" 4.) Verify that after tabbing an "open message" link appears Change-Id: Ib8b7c2169e255233980a71c67831ef648858d2e3 Reviewed-on: https://gerrit.instructure.com/40198 Tested-by: Jenkins <jenkins@instructure.com> QA-Review: Clare Strong <clare@instructure.com> Reviewed-by: Alex Boyd <aboyd@instructure.com> Reviewed-by: Brad Horrocks <bhorrocks@instructure.com> Product-Review: Matt Fairbourn <mfairbourn@instructure.com>
1 parent d4595a1 commit df8aaf3

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

app/stylesheets/pages/conversations/_conversations_new.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,20 @@
287287
}
288288

289289
.open-message {
290+
color: #fff;
291+
background: #DC3F3F;
292+
border: 1px dashed #fff;
293+
font-size: 12px;
294+
padding: 2px;
290295
left: -9999px;
291296
position: absolute;
297+
&:focus {
298+
left: 50%;
299+
top: 2px;
300+
width: auto;
301+
height: auto;
302+
z-index: 1;
303+
}
292304
}
293305

294306
.message-detail.span8 {

0 commit comments

Comments
 (0)