mirror of https://github.com/zulip/zulip.git
navbar: Make login button focusable.
This commit allows login button in navbar draw focus to them. Fixes part of zulip#28037.
This commit is contained in:
parent
bb6b25d0d1
commit
633ae45f1d
|
@ -462,7 +462,8 @@ body.has-overlay-scrollbar {
|
|||
--color-navbar-spectator-medium-attention-brand-button-background
|
||||
);
|
||||
|
||||
&:hover {
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: var(
|
||||
--color-navbar-spectator-medium-attention-brand-button-text
|
||||
);
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
</div>
|
||||
<div class="column-right">
|
||||
<div class="spectator_login_buttons only-visible-for-spectators">
|
||||
<a class="login_button">
|
||||
<a class="login_button" tabindex="0">
|
||||
{{t 'Log in' }}
|
||||
</a>
|
||||
</div>
|
||||
|
@ -62,7 +62,7 @@
|
|||
</a>
|
||||
</div>
|
||||
<div class="spectator_narrow_login_button only-visible-for-spectators" data-tippy-content="{{t 'Log in' }}" data-tippy-placement="bottom">
|
||||
<a class="header-button login_button">
|
||||
<a class="header-button login_button" tabindex="0">
|
||||
<i class="zulip-icon zulip-icon-log-in"></i>
|
||||
</a>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue