Савинцев Егор 🚶 (savintsev_egor) wrote in changelog,
Савинцев Егор 🚶
savintsev_egor
changelog

[livejournal] r17584: LJSV-1216: Reply Form Tabindex

Committer: esavintcev
LJSV-1216: Reply Form Tabindex
U   trunk/templates/CommentForm/Author-Anonymous.tmpl
U   trunk/templates/CommentForm/Author-OpenID.tmpl
U   trunk/templates/CommentForm/Author-User.tmpl
U   trunk/templates/CommentForm/Form.tmpl
Modified: trunk/templates/CommentForm/Author-Anonymous.tmpl
===================================================================
--- trunk/templates/CommentForm/Author-Anonymous.tmpl	2010-10-21 06:40:25 UTC (rev 17583)
+++ trunk/templates/CommentForm/Author-Anonymous.tmpl	2010-10-21 08:26:02 UTC (rev 17584)
@@ -11,7 +11,7 @@
     <TMPL_ELSE>
         <tr valign='center'>
         <td class="b-postform-icon"><img src='<TMPL_VAR lj_imgprefix>/anonymous.gif' onclick='handleRadios(0);'/></td>
-        <td class="b-postform-radio"><input type='radio' name='usertype' value='anonymous' id='talkpostfromanon' <TMPL_IF whocheck_anonymous>checked='checked'</TMPL_IF> /></td>
+        <td class="b-postform-radio"><input type='radio' name='usertype' value='anonymous' id='talkpostfromanon' <TMPL_IF whocheck_anonymous>checked='checked'</TMPL_IF> tabindex='9' /></td>
         <td class="b-postform-data">
             <label for='talkpostfromanon' class="i-postform-label"><b><TMPL_VAR expr="ml('/talkpost.bml.opt.anonymous')"></b></label>
             <TMPL_VAR ml_willscreen>

Modified: trunk/templates/CommentForm/Author-OpenID.tmpl
===================================================================
--- trunk/templates/CommentForm/Author-OpenID.tmpl	2010-10-21 06:40:25 UTC (rev 17583)
+++ trunk/templates/CommentForm/Author-OpenID.tmpl	2010-10-21 08:26:02 UTC (rev 17584)
@@ -13,7 +13,7 @@
         <TMPL_ELSE>
             <tr valign='middle' id='oidlo' name='oidlo'>
             <td class="b-postform-icon"><img src='<TMPL_VAR lj_imgprefix>/openid-profile.gif' onclick='handleRadios(3);' /></td>
-            <td class="b-postform-radio"><input type='radio' name='usertype' value='openid' id='talkpostfromoidlo' <TMPL_IF whocheck_openid>checked='checked'</TMPL_IF> /></td>
+            <td class="b-postform-radio"><input type='radio' name='usertype' value='openid' id='talkpostfromoidlo' <TMPL_IF whocheck_openid>checked='checked'</TMPL_IF> tabindex="9" /></td>
             <td class="b-postform-data">
                 <label for='talkpostfromoidlo' onclick='handleRadios(5);return false;' class="i-postform-label"><b>OpenID</b></label>
                 <TMPL_VAR ml_willscreen>

Modified: trunk/templates/CommentForm/Author-User.tmpl
===================================================================
--- trunk/templates/CommentForm/Author-User.tmpl	2010-10-21 06:40:25 UTC (rev 17583)
+++ trunk/templates/CommentForm/Author-User.tmpl	2010-10-21 08:26:02 UTC (rev 17584)
@@ -18,7 +18,7 @@
     <TMPL_ELSE>
         <td class="b-postform-icon"><img src='<TMPL_VAR lj_imgprefix>/userinfo.gif'  onclick='handleRadios(1);' /></td>
         <TMPL_IF remote_can_comment>
-            <td class="b-postform-radio"><input type='radio' name='usertype' value='cookieuser' id='talkpostfromremote' <TMPL_IF whocheck_remote>checked="checked"</TMPL_IF> /></td>
+            <td class="b-postform-radio"><input type='radio' name='usertype' value='cookieuser' id='talkpostfromremote' <TMPL_IF whocheck_remote>checked="checked"</TMPL_IF> tabindex='9' /></td>
             <td class="b-postform-data">
                 <label for='talkpostfromremote' class="i-postform-label"><TMPL_VAR ml_loggedin></label>
 

Modified: trunk/templates/CommentForm/Form.tmpl
===================================================================
--- trunk/templates/CommentForm/Form.tmpl	2010-10-21 06:40:25 UTC (rev 17583)
+++ trunk/templates/CommentForm/Form.tmpl	2010-10-21 08:26:02 UTC (rev 17584)
@@ -105,7 +105,7 @@
                     var defaultpicurl="<TMPL_VAR defaultpicurl>";
                 </script>
                 <TMPL_VAR ml_picturetouse>
-                <select name="prop_picture_keyword">
+                <select name="prop_picture_keyword" tabindex="11">
                     <TMPL_LOOP userpics>
                         <option value="<TMPL_VAR userpic_keyword>" <TMPL_IF userpic_selected>selected="selected"</TMPL_IF>><TMPL_VAR userpic_title></option>
                     </TMPL_LOOP>
@@ -113,7 +113,7 @@
                 <TMPL_VAR helpicon_userpics>
             </TMPL_IF>
 
-            &nbsp;&nbsp;<input type="checkbox" name="prop_opt_preformatted" id="prop_opt_preformatted" value="1"<TMPL_IF opt_preformatted_selected> checked="checked"</TMPL_IF> /><label for='prop_opt_preformatted'>&nbsp;<TMPL_VAR expr="ml('/talkpost.bml.opt.noautoformat')">&nbsp;</label><TMPL_VAR helpicon_noautoformat>
+            &nbsp;&nbsp;<input type="checkbox" name="prop_opt_preformatted" id="prop_opt_preformatted" value="1"<TMPL_IF opt_preformatted_selected> checked="checked"</TMPL_IF> tabindex="12" /><label for='prop_opt_preformatted'>&nbsp;<TMPL_VAR expr="ml('/talkpost.bml.opt.noautoformat')">&nbsp;</label><TMPL_VAR helpicon_noautoformat>
 
             <TMPL_IF show_quick_quote>
                 <script type='text/javascript' language='JavaScript'>
@@ -152,7 +152,7 @@
                 if (document.getElementById && (document.getSelection || document.selection || window.getSelection)) {
                     // Opera clears the paste buffer before mouse events, useless here
                         if (navigator.userAgent.indexOf("Opera") == -1) {
-                            document.write('&nbsp;&nbsp;<input type="button" value="Quote" onmousedown="quote();" onclick="quote();" />');
+                            document.write('&nbsp;&nbsp;<input type="button" value="Quote" onmousedown="quote();" onclick="quote();" tabindex="13" />');
                         }
                 }
                 //-->
@@ -205,10 +205,10 @@
         />
         &nbsp;
         <input type='submit' name='submitpreview' onclick='return checkLength() && sendForm("postform", "username")'
-            value="<TMPL_VAR expr="ml('talk.btn.preview')">" />
+            value="<TMPL_VAR expr="ml('talk.btn.preview')">" tabindex="50" />
 
         <TMPL_IF show_spellcheck>
-            <input type='checkbox' name='do_spellcheck' value='1' id='spellcheck' />
+            <input type='checkbox' name='do_spellcheck' value='1' id='spellcheck' tabindex='51' />
             <label for='spellcheck'><TMPL_VAR expr="ml('talk.spellcheck')"></label>
         </TMPL_IF>
 

Tags: livejournal, savintsev_egor, tmpl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments