]> git.mxchange.org Git - friendica.git/commitdiff
Remove counter-productive role="heading" and aria-level attributes
authorHypolite Petovan <hypolite@mrpetovan.com>
Tue, 27 Dec 2022 18:24:19 +0000 (13:24 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Tue, 27 Dec 2022 18:24:19 +0000 (13:24 -0500)
view/theme/frio/css/style.css
view/theme/frio/templates/search_item.tpl
view/theme/frio/templates/wall_thread.tpl
view/theme/vier/templates/wall_thread.tpl

index e376a8dc4324e0759327cb43467d684c48516ea7..3f62919e53580063987950b9ae7867c6ca51ccfb 100644 (file)
@@ -1717,13 +1717,13 @@ aside .panel-body {
 }
 
 /* wall items action dropdown menu */
-.media [role="heading"] {
+.media .contact-info {
        position: relative;
 }
 
 /* Workaround for Firefox where the post heading covers the avatar, preventing hovercard interaction,
  48px is the width of the avatar image and should be adjusted accordingly if it ever changes. */
-.media .dropdown.pull-left + [role="heading"] {
+.media .dropdown.pull-left + .contact-info {
        margin-left: 48px;
 }
 
index c3f2e8c85829bdd85d27df5ef21b35e27327052e..5a283ce3f0593698c02ebee580795c78607e6227 100644 (file)
@@ -23,7 +23,7 @@
 
 
                        {{* contact info header*}}
-                       <div role="heading" class="contact-info hidden-sm hidden-xs media-body"><!-- <= For computer -->
+                       <div class="contact-info hidden-sm hidden-xs media-body"><!-- Desktop -->
                                <div class="preferences">
                                        {{if $item.network_icon != ""}}
                                                <span class="wall-item-network"><i class="fa fa-{{$item.network_icon}}" title="{{$item.network_name}}" aria-hidden="true"></i></span>
@@ -77,7 +77,7 @@
                        </div>
 
                        {{* contact info header for smartphones *}}
-                       <div role="heading" class="contact-info-xs hidden-lg hidden-md">
+                       <div class="contact-info contact-info-xs hidden-lg hidden-md">
                                <div class="preferences">
                                        {{if $item.network_icon != ""}}
                                                <span class="wall-item-network"><i class="fa fa-{{$item.network_icon}}" title="{{$item.network_name}}" aria-hidden="true"></i></span>
index 4f2d7e1bc4b4b6082b3d2e29b41b2f8561c08385..862b7cc1bbceb266234ff43f5422eb048fda540d 100644 (file)
@@ -132,7 +132,7 @@ as the value of $top_child_total (this is done at the end of this file)
        {{/if}}
 
                        {{* contact info header*}}
-               <div role="heading" aria-level="{{$item.thread_level}}">
+               <div class="contact-info">
                        <div class="preferences">
                                {{if $item.network_icon != ""}}
                                        <span class="wall-item-network"><i class="fa fa-{{$item.network_icon}}" title="{{$item.network_name}}" aria-hidden="true"></i></span>
index a9ec4c90ad0a2f17b7d6f9b2a61d75243739eaca..cc2941a6c20f7600e22a4fc203d2fbe2b6518bb1 100644 (file)
@@ -52,7 +52,7 @@
                        </div>
                        {{/if}}
                </div>
-               <div role="heading" aria-level="{{$item.thread_level}}" class="wall-item-actions-author">
+               <div class="wall-item-actions-author">
                        <a href="{{$item.profile_url}}" target="redir" title="{{$item.linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.sparkle}}">{{$item.name}}</span></a>
                        {{if $item.owner_url}}{{$item.via}} <a href="{{$item.owner_url}}" target="redir" title="{{$item.olinktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.osparkle}}" id="wall-item-ownername-{{$item.id}}">{{$item.owner_name}}</span></a>{{/if}}
                        <span class="wall-item-ago">