]> git.mxchange.org Git - friendica.git/commitdiff
Some aria changes
authorMichael <heluecht@pirati.ca>
Sun, 29 Apr 2018 05:02:42 +0000 (05:02 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 29 Apr 2018 05:02:42 +0000 (05:02 +0000)
view/theme/frio/php/standard.php
view/theme/frio/templates/field_checkbox.tpl
view/theme/frio/templates/nav.tpl

index edfec573b013f52ffe5aa9300642f3de1114c40d..f0ad898752e90b1ad826cfa51839f7b57a03f658 100644 (file)
@@ -106,11 +106,11 @@ $("nav").bind('nav-update', function(e,data)
 <script src="<?=$frio?>/frameworks/justifiedGallery/jquery.justifiedGallery.min.js"></script>
 
 <!-- Modal  -->
-<div id="modal" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">
+<div id="modal" class="modal fade" tabindex="-1" role="dialog" aria-hidden="false">
        <div class="modal-dialog modal-full-screen">
                <div class="modal-content">
                        <div id="modal-header" class="modal-header">
-                               <button id="modal-cloase" type="button" class="close" data-dismiss="modal" aria-hidden="true">
+                               <button id="modal-cloase" type="button" class="close" data-dismiss="modal" aria-hidden="false">
                                        &times;
                                </button>
                                <h4 id="modal-title" class="modal-title"></h4>
index 787a82ebdcd14f7d3bbf7c3cb7973070b76148cf..e993e5adb75b5affcb962693da175c351605696b 100644 (file)
@@ -1,9 +1,9 @@
 
        <div class="field checkbox" id="div_id_{{$field.0}}">
                        <input type="hidden" name="{{$field.0}}" value="0">
-                       <input type="checkbox" name="{{$field.0}}" id="id_{{$field.0}}" value="1" {{if $field.2}}checked="checked"{{/if}} aria-checked="{{if $field.2}}true{{else}}false{{/if}}" aria-describedby="{{$field.0}}_tip" {{if $field.4}}{{$field.4}}{{/if}}>
+                       <input type="checkbox" name="{{$field.0}}" id="id_{{$field.0}}" value="1" {{if $field.2}}checked="checked"{{/if}} aria-checked="{{if $field.2}}true{{else}}false{{/if}}" {{if $field.4}}aria-describedby="{{$field.0}}_tip"{{/if}} {{if $field.4}}{{$field.4}}{{/if}}>
                        <label for="id_{{$field.0}}">
                                {{$field.1}}
                                <span class="help-block" id="{{$field.0}}_tip" role="tooltip">{{$field.3}}</span>
                        </label>
-       </div>
\ No newline at end of file
+       </div>
index 96f42e7ac68cc51ffc823ea7e0c571817052e141..87b0d101554f6c4432be609d9c80af84acbe353a 100644 (file)
@@ -70,7 +70,7 @@
                                        {{* The notifications dropdown *}}
                                        {{if $nav.notifications}}
                                                <li id="nav-notification" class="nav-segment hidden-xs" role="presentation">
-                                                       <a href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" data-toggle="tooltip" aria-label="{{$nav.notifications.1}}" title="{{$nav.notifications.1}}" role="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+                                                       <a href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" aria-label="{{$nav.notifications.1}}" title="{{$nav.notifications.1}}" role="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-controls="nav-notifications-menu">
                                                                <i class="fa fa-exclamation-circle fa-lg" aria-hidden="true"></i>
                                                                <span role="menuitem" class="sr-only">{{$nav.notifications.1}}</span>
                                                                <span id="notify-update" class="nav-notify-badge badge nav-notify dropdown" data-toggle="dropdown"></span>
                                                                {{if $nav.remote}}<span class="trunctate">{{$nav.remote}}</span>{{/if}}
                                                        </div>
 
-                                                       <img  id="avatar" src="{{$nav.userinfo.icon}}" alt="{{$nav.userinfo.name}}">
+                                                       <img id="avatar" src="{{$nav.userinfo.icon}}" alt="{{$nav.userinfo.name}}">
                                                        <span class="caret"></span>
                                                </button>