]> source.dussan.org Git - nextcloud-server.git/commitdiff
Sessions: Make delete and filesystem access options tabbable 12191/head
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 1 Nov 2018 12:26:06 +0000 (13:26 +0100)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 1 Nov 2018 12:26:06 +0000 (13:26 +0100)
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
settings/js/templates.js
settings/js/templates/authtoken.handlebars

index 87c05bdefdaee2ec0a8c0073e0021b5b56b49485..c9931fed41b29548caa8b9b1f40bfd8fea67b720 100644 (file)
@@ -13,7 +13,7 @@ templates['authtoken'] = template({"1":function(container,depth0,helpers,partial
     + alias4(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"id","hash":{},"data":data}) : helper)))
     + "_filesystem\" "
     + ((stack1 = helpers["if"].call(alias1,((stack1 = (depth0 != null ? depth0.scope : depth0)) != null ? stack1.filesystem : stack1),{"name":"if","hash":{},"fn":container.program(4, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
-    + "/>\n                            <label for=\""
+    + " tabindex=\"0\" />\n                            <label for=\""
     + alias4(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"id","hash":{},"data":data}) : helper)))
     + "_filesystem\">"
     + alias4(((helper = (helper = helpers.allowFSAccess || (depth0 != null ? depth0.allowFSAccess : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"allowFSAccess","hash":{},"data":data}) : helper)))
@@ -23,7 +23,7 @@ templates['authtoken'] = template({"1":function(container,depth0,helpers,partial
 },"6":function(container,depth0,helpers,partials,data) {
     var helper;
 
-  return "                     <li>\n                          <a class=\"icon icon-delete\">"
+  return "                     <li>\n                          <a class=\"icon icon-delete\" tabindex=\"0\">"
     + container.escapeExpression(((helper = (helper = helpers.revokeText || (depth0 != null ? depth0.revokeText : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"revokeText","hash":{},"data":data}) : helper)))
     + "</a>\n                  </li>\n";
 },"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
index c2f1f2620799b20d2850ba8b6d4ff2eabaca12bb..b6d81780e80624baaeb9ac545362fec05e04f5f6 100644 (file)
                <div class="popovermenu menu">
                {{#if canScope}}
                        <li><span class="menuitem">
-                               <input class="filesystem checkbox" type="checkbox" id="{{id}}_filesystem" {{#if scope.filesystem}}checked{{/if}}/>
+                               <input class="filesystem checkbox" type="checkbox" id="{{id}}_filesystem" {{#if scope.filesystem}}checked{{/if}} tabindex="0" />
                                <label for="{{id}}_filesystem">{{allowFSAccess}}</label><br/>
                        </span></li>
                {{/if}}
                {{#if canDelete}}
                        <li>
-                               <a class="icon icon-delete">{{revokeText}}</a>
+                               <a class="icon icon-delete" tabindex="0">{{revokeText}}</a>
                        </li>
                {{/if}}
                </div>