]> git.mxchange.org Git - friendica.git/commitdiff
Added the changes in quattro as well
authorMichael Vogel <icarus@dabo.de>
Sun, 9 Aug 2015 07:28:10 +0000 (09:28 +0200)
committerMichael Vogel <icarus@dabo.de>
Sun, 9 Aug 2015 07:28:10 +0000 (09:28 +0200)
view/theme/quattro/templates/generic_links_widget.tpl
view/theme/quattro/templates/message_side.tpl

index e10ded9f4ce7190e0fc94c19758c8daf4378caa5..6f7a082c1e5439395c3c1cd0e4ca44a65e052340 100644 (file)
@@ -2,9 +2,9 @@
        {{if $title}}<h3>{{$title}}</h3>{{/if}}
        {{if $desc}}<div class="desc">{{$desc}}</div>{{/if}}
        
-       <ul>
+       <ul role="menu">
                {{foreach $items as $item}}
-                       <li class="tool {{if $item.selected}}selected{{/if}}"><a href="{{$item.url}}" class="link">{{$item.label}}</a></li>
+                       <li role="menuitem" class="tool {{if $item.selected}}selected{{/if}}"><a href="{{$item.url}}" {{if $item.accesskey}}accesskey="{{$item.accesskey}}"{{/if}} class="link">{{$item.label}}</a></li>
                {{/foreach}}
        </ul>
        
index c8a372c744ba7fa431e2abe8bbc820107db17f40..084099c54816eb6b46d9ea78fb2d89ee3431fe58 100644 (file)
@@ -1,9 +1,9 @@
 <div id="message-sidebar" class="widget">
-       <div id="message-new" class="{{if $new.sel}}selected{{/if}}"><a href="{{$new.url}}">{{$new.label}}</a> </div>
+       <div id="message-new" class="{{if $new.sel}}selected{{/if}}"><a href="{{$new.url}}" accesskey="m">{{$new.label}}</a> </div>
        
-       <ul class="message-ul">
+       <ul role="menu" class="message-ul">
                {{foreach $tabs as $t}}
-                       <li class="tool {{if $t.sel}}selected{{/if}}"><a href="{{$t.url}}" class="message-link">{{$t.label}}</a></li>
+                       <li role="menuitem" class="tool {{if $t.sel}}selected{{/if}}"><a href="{{$t.url}}" {{if $t.accesskey}}accesskey="$t.accesskey"{{/if}} class="message-link">{{$t.label}}</a></li>
                {{/foreach}}
        </ul>