UX: Focus on new topic link that appears on the page via keyboard. (#6081)

- Add an <a> tag to handle keypress events on new topic indicator.
This commit is contained in:
Misaka 0x4e21
2018-07-12 12:36:19 +08:00
committed by Sam
parent decf1f27cf
commit de4d4747c4
3 changed files with 7 additions and 3 deletions
@@ -21,7 +21,7 @@
<div class='clearfix'></div>
</div>
{{#if hasIncoming}}
<div class='alert alert-info clickable' {{action "showInserted"}}>
<div class='alert alert-info clickable' tabindex="0" {{action "showInserted"}}>
{{count-i18n key="admin.web_hooks.events.incoming" count=incomingCount}}
</div>
{{/if}}