diff --git a/rtpconn/webclient.go b/rtpconn/webclient.go index 0ee284e3..b75e698f 100644 --- a/rtpconn/webclient.go +++ b/rtpconn/webclient.go @@ -1906,7 +1906,7 @@ func handleClientMessage(c *webClient, m clientMessage) error { } t := g.GetClient(m.Dest) if t == nil { - return c.error(group.UserError("no suck user")) + return c.error(group.UserError("no such user")) } target, ok := t.(*webClient) if !ok { diff --git a/static/galene.css b/static/galene.css index 448b992f..64782e57 100644 --- a/static/galene.css +++ b/static/galene.css @@ -1,3 +1,27 @@ +/* Accessibility: Visible focus indicators for keyboard navigation */ +button:focus, +[role="button"]:focus, +select:focus, +input:focus, +textarea:focus, +a:focus { + outline: 2px solid #0066cc; + outline-offset: 2px; +} + +/* Accessibility: Screen reader only content */ +.sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + border-width: 0; +} + .nav-fixed .topnav { z-index: 1039; } @@ -109,15 +133,18 @@ display: none; } -.sidenav .user-logout a { +.sidenav .user-logout button { + background: transparent; + border: 0; font-size: 1em; padding: 7px 0 0; color: #e4157e; cursor: pointer; + font: inherit; line-height: .7; } -.sidenav .user-logout a:hover { +.sidenav .user-logout button:hover { color: #ab0659; } @@ -312,7 +339,6 @@ resize: none; overflow: hidden; padding: 5px; - outline: none; border: none; text-indent: 5px; box-shadow: none; @@ -865,11 +891,13 @@ h1 { } #input:focus { - outline: none; + outline: 2px solid #0066cc; + outline-offset: 2px; } #inputbutton:focus { - outline: none; + outline: 2px solid #0066cc; + outline-offset: 2px; } #resizer { diff --git a/static/galene.html b/static/galene.html index d7d44f1c..c632f561 100644 --- a/static/galene.html +++ b/static/galene.html @@ -16,7 +16,7 @@
-