Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

compose: Fix keyboard navigation focus for send later popover.

Pratik Chanda2912ab249d84
diff --git a/web/styles/compose.css b/web/styles/compose.css
index 3809865264f..690aa21b558 100644
--- a/web/styles/compose.css
+++ b/web/styles/compose.css
@@ -1507,12 +1507,6 @@ textarea.new_message_textarea {
align-self: center;
font-size: inherit;
- &:focus {
- outline: 1px dotted hsl(0deg 0% 20%);
- outline: 5px auto -webkit-focus-ring-color;
- outline-offset: -2px;
- }
-
&:checked
+ .enter_sends_choice_text_container
.popover-menu-hotkey-hint {
diff --git a/web/templates/popovers/send_later_popover.hbs b/web/templates/popovers/send_later_popover.hbs
index f29206da16e..a8a22986d95 100644
--- a/web/templates/popovers/send_later_popover.hbs
+++ b/web/templates/popovers/send_later_popover.hbs
@@ -3,7 +3,7 @@
<li role="none" class="popover-menu-list-item">
<div role="group" class="enter_sends_choices" aria-label="{{t 'Enter to send choices' }}">
<label role="menuitemradio" class="enter_sends_choice" tabindex="0">
- <input type="radio" class="enter_sends_choice_radio" name="enter_sends_choice" value="true"{{#if enter_sends_true }} checked{{/if}} />
+ <input type="radio" class="enter_sends_choice_radio" name="enter_sends_choice" value="true"{{#if enter_sends_true }} checked{{/if}} tabindex="-1" />
<span class="enter_sends_choice_text_container">
<span class="enter_sends_major enter_sends_choice_text">
{{#tr}}
@@ -20,7 +20,7 @@
</span>
</label>
<label role="menuitemradio" class="enter_sends_choice" tabindex="0">
- <input type="radio" class="enter_sends_choice_radio" name="enter_sends_choice" value="false"{{#unless enter_sends_true }} checked{{/unless}} />
+ <input type="radio" class="enter_sends_choice_radio" name="enter_sends_choice" value="false"{{#unless enter_sends_true }} checked{{/unless}} tabindex="-1" />
<span class="enter_sends_choice_text_container">
<span class="enter_sends_major enter_sends_choice_text">
{{#tr}}