Remove counter-productive role="heading" and aria-level attributes

This commit is contained in:
Hypolite Petovan
2022-12-27 13:24:19 -05:00
parent 89705afa9d
commit c19dd39fe3
4 changed files with 6 additions and 6 deletions
+2 -2
View 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;
}
+2 -2
View 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>
+1 -1
View 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>