tab index composer actions

add styling for :focus
This commit is contained in:
Jeff Wong 2018-02-08 12:16:13 -08:00
parent e17e6d2880
commit 8e49033ed1
3 changed files with 4 additions and 3 deletions

View File

@ -5,7 +5,8 @@
composerModel=model composerModel=model
options=model.replyOptions options=model.replyOptions
canWhisper=canWhisper canWhisper=canWhisper
action=model.action}} action=model.action
tabindex=tabindex}}
{{/if}} {{/if}}
<span class="action-title"> <span class="action-title">

View File

@ -16,7 +16,7 @@
{{plugin-outlet name="composer-open" args=(hash model=model)}} {{plugin-outlet name="composer-open" args=(hash model=model)}}
<div class='reply-to'> <div class='reply-to'>
<div class="reply-details"> <div class="reply-details">
{{composer-action-title model=model canWhisper=canWhisper}} {{composer-action-title model=model canWhisper=canWhisper tabindex=8}}
{{#unless site.mobileView}} {{#unless site.mobileView}}
{{#if whisperOrUnlistTopicText}} {{#if whisperOrUnlistTopicText}}

View File

@ -14,7 +14,7 @@
margin: 0!important; margin: 0!important;
} }
&:hover { &:hover, &:focus {
background: $primary-low; background: $primary-low;
} }
} }