Index: program/include/rcube_template.php
===================================================================
--- program/include/rcube_template.php	(revision c8fb2b778491036db4c1b5f4fcc3b9a3c21efcc1)
+++ program/include/rcube_template.php	(revision 23bba05d7ddf44e99534acc8f177ac1e8d814988)
@@ -761,5 +761,5 @@
                     'style', 'class', 'id', 'width',
                     'height', 'border', 'hspace',
-                    'vspace', 'align', 'alt',
+                    'vspace', 'align', 'alt', 'tabindex'
                 )
             );
@@ -772,5 +772,5 @@
         else if ($attrib['type']=='link') {
             $btn_content = $attrib['label'] ? $attrib['label'] : $attrib['command'];
-            $link_attrib = array('href', 'onclick', 'title', 'id', 'class', 'style');
+            $link_attrib = array('href', 'onclick', 'title', 'id', 'class', 'style', 'tabindex');
         }
         else if ($attrib['type']=='input') {
@@ -785,5 +785,5 @@
                 array(
                     'type', 'value', 'onclick',
-                    'id', 'class', 'style'
+                    'id', 'class', 'style', 'tabindex'
                 )
             );
Index: skins/default/templates/compose.html
===================================================================
--- skins/default/templates/compose.html	(revision c17991c294c727ad3ff0b4656fd32e2b5f42397a)
+++ skins/default/templates/compose.html	(revision 23bba05d7ddf44e99534acc8f177ac1e8d814988)
@@ -134,10 +134,10 @@
 <tr>
 <td>
-<roundcube:button type="input" command="send" class="button" label="sendmessage" />
-<roundcube:button type="input" command="list" class="button" label="cancel" />
+<roundcube:button type="input" command="send" class="button" label="sendmessage" tabindex="8" />
+<roundcube:button type="input" command="list" class="button" label="cancel" tabindex="9" />
 </td>
 <td align="right">
  <roundcube:label name="editortype" />:&nbsp;
- <span class="radios-left"><roundcube:object name="editorSelector" tabindex="9" /></span>
+ <span class="radios-left"><roundcube:object name="editorSelector" tabindex="10" /></span>
 </td>
 </tr>
