]> git.mxchange.org Git - friendica.git/commitdiff
Hide dots from screenreaders
authorMichael <heluecht@pirati.ca>
Sun, 26 Jan 2025 13:37:32 +0000 (13:37 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 26 Jan 2025 14:09:59 +0000 (14:09 +0000)
view/theme/frio/templates/search_item.tpl
view/theme/frio/templates/sub/delivery_count.tpl
view/theme/frio/templates/sub/direction.tpl
view/theme/frio/templates/wall_thread.tpl

index caa43f58361c206acb1b05e6399a7072bf8dbb20..dbf8bf159d78c7834f4c5317b344f600311b38a9 100644 (file)
@@ -69,7 +69,7 @@
                                                                        <time class="time" title="{{$item.localtime}}" data-toggle="tooltip" datetime="{{$item.utc}}">{{$item.ago}}</time>
                                                                </a>
                                                                {{if $item.pinned}}
-                                                                       &bull; <i class="fa fa-thumb-tack" aria-hidden="true" title="{{$item.pinned}}"></i>
+                                                                       <span aria-hidden="true">&bull;</span> <i class="fa fa-thumb-tack" aria-hidden="true" title="{{$item.pinned}}"></i>
                                                                        <span class="sr-only">{{$item.pinned}}</span>
                                                                {{/if}}
                                                        </small>
index 968211b3bfaca81ea84d59c286525729067d4a5a..25c87f342ea4faaceeec5d4cb9105bcab653515b 100644 (file)
@@ -6,7 +6,7 @@
   *}}
 {{if $delivery.queue_count >= -1 && $delivery.queue_count !== '' && $delivery.queue_count !== null}}
 <span class="delivery">
-       &bull;
+       <span aria-hidden="true">&bull;</span>
        {{if $delivery.queue_count == 0}}
                <i class="fa fa-hourglass-o" aria-hidden="true" title="{{$delivery.notifier_pending}}"></i>
                <span class="sr-only">{{$delivery.notifier_pending}}</span>
index b5672ff0fc58f17c0047b5533c622c5883733241..34983541518e28f6384ae25c2700726a7d91acb1 100644 (file)
@@ -6,7 +6,7 @@
   *}}
 {{if $direction.direction > 0}}
 <span class="direction">
-       &bull;
+       <span aria-hidden="true">&bull;</span>
        {{if $direction.direction == 1}}
                <i class="fa fa-inbox" aria-hidden="true" title="{{$direction.title}}"></i>
        {{elseif $direction.direction == 2}}
index db17771deda72c37463d4679c0c62634c23f77c0..2c04ccde17e12af9cbc48ca701ec13d68d484e5d 100644 (file)
@@ -163,14 +163,14 @@ as the value of $top_child_total (this is done at the end of this file)
                                                                {{include file="sub/direction.tpl" direction=$item.direction}}
                                                        {{/if}}
                                                        {{if $item.pinned}}
-                                                               &bull; <i class="fa fa-thumb-tack" aria-hidden="true" title="{{$item.pinned}}"></i>
+                                                               <span aria-hidden="true">&bull;</span> <i class="fa fa-thumb-tack" aria-hidden="true" title="{{$item.pinned}}"></i>
                                                                <span class="sr-only">{{$item.pinned}}</span>
                                                        {{/if}}
                                                        {{if $item.connector}}
-                                                               &bull;
+                                                               <span aria-hidden="true">&bull;</span>
                                                                <small><i class="fa fa-plug" title="{{$item.connector}}" aria-hidden="true"></i></small>
                                                        {{else}}
-                                                               &bull;
+                                                               <span aria-hidden="true">&bull;</span>
                                                                <span class="navicon lock fakelink" onClick="lockview(event, 'item', {{$item.id}});" title="{{$item.privacy}}" data-toggle="tooltip">
                                                                        <small><i class="fa {{if $item.private == 1}}fa-lock{{elseif $item.private == 0}}fa-globe{{else}}fa-low-vision{{/if}}" aria-hidden="true"></i></small>
                                                                </span>
@@ -204,10 +204,10 @@ as the value of $top_child_total (this is done at the end of this file)
                                                                {{include file="sub/direction.tpl" direction=$item.direction}}
                                                        {{/if}}
                                                        {{if $item.connector}}
-                                                               &bull;
+                                                               <span aria-hidden="true">&bull;</span>
                                                                <small><i class="fa fa-plug" title="{{$item.connector}}" aria-hidden="true"></i></small>
                                                        {{else}}
-                                                               &bull;
+                                                               <span aria-hidden="true">&bull;</span>
                                                                <span class="navicon lock fakelink" onClick="lockview(event, 'item', {{$item.id}});" title="{{$item.privacy}}" data-toggle="tooltip">
                                                                <i class="fa {{if $item.private == 1}}fa-lock{{elseif $item.private == 0}}fa-globe{{else}}fa-low-vision{{/if}}" aria-hidden="true"></i>
                                                                </span>
@@ -248,11 +248,11 @@ as the value of $top_child_total (this is done at the end of this file)
                                                {{include file="sub/direction.tpl" direction=$item.direction}}
                                        {{/if}}
                                        {{if $item.connector}}
-                                               &bull;
+                                               <span aria-hidden="true">&bull;</span>
                                                <small><i class="fa fa-plug" title="{{$item.connector}}" aria-hidden="true"></i></small>
                                        {{else}}
                                                <span class="navicon lock fakelink" onClick="lockview(event, 'item', {{$item.id}});" title="{{$item.privacy}}" data-toggle="tooltip">
-                                                       &bull;
+                                                       <span aria-hidden="true">&bull;</span>
                                                        <small><i class="fa {{if $item.private == 1}}fa-lock{{elseif $item.private == 0}}fa-globe{{else}}fa-low-vision{{/if}}" aria-hidden="true"></i></small>
                                                </span>
                                        {{/if}}
@@ -265,7 +265,7 @@ as the value of $top_child_total (this is done at the end of this file)
                <div class="clearfix"></div>
 
                {{* Insert Line to separate item header and item content visually *}}
-               {{if $item.thread_level==1}}<hr />{{/if}}
+               {{if $item.thread_level==1}}<span aria-hidden="true"><hr /></span>{{/if}}
 
                {{* item content *}}
                <div class="wall-item-content {{$item.type}}" id="wall-item-content-{{$item.id}}">