diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl
index 2fd0d064df..7c413fb3ef 100644
--- a/templates/repo/issue/view_content.tmpl
+++ b/templates/repo/issue/view_content.tmpl
@@ -326,14 +326,14 @@
 		  <a class="preview item" data-url="/api/v1/markdown" data-context="{{$.RepoLink}}">{{$.i18n.Tr "repo.release.preview"}}</a>
 		</div>
 		<div class="ui bottom attached active write tab segment">
-		  <textarea id="content" name="content"></textarea>
+		  <textarea tabindex="1" id="content" name="content"></textarea>
 		</div>
 		<div class="ui bottom attached tab preview segment markdown emojify">
 		  {{$.i18n.Tr "repo.release.loading"}}
 		</div>
     <div class="text right edit buttons">
-			<div class="ui basic blue cancel button">{{.i18n.Tr "repo.issues.cancel"}}</div>
-			<div class="ui green save button">{{.i18n.Tr "repo.issues.save"}}</div>
+			<div class="ui basic blue cancel button" tabindex="3">{{.i18n.Tr "repo.issues.cancel"}}</div>
+			<div class="ui green save button" tabindex="2">{{.i18n.Tr "repo.issues.save"}}</div>
     </div>
 	</div>
 </div>