Hide dots from screenreaders

This commit is contained in:
Michael 2025-01-26 13:37:32 +00:00
parent c0723e3d48
commit b8c33571e7
4 changed files with 11 additions and 11 deletions

View 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>

View 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>

View 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}}

View 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}}">