Fix accessibility issues flagged by axe (#9452)
This commit is contained in:
parent
a5b26b3425
commit
cd11ebefb9
2 changed files with 7 additions and 7 deletions
|
|
@ -2,7 +2,7 @@
|
|||
<h1 class="fw-heavy fs-3xl mod-center-heading">
|
||||
Mod Center
|
||||
</h1>
|
||||
<nav class="mod-center--nav">
|
||||
<nav class="mod-center--nav" aria-label="Mod center inbox navigation">
|
||||
<h3 class="fw-bold fs-s mod-center--nav__title">
|
||||
Inbox
|
||||
</h3>
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
</a>
|
||||
</div>
|
||||
</nav>
|
||||
<nav class="mod-center--nav">
|
||||
<nav class="mod-center--nav" aria-label="Mod center resources navigation">
|
||||
<h3 class="fw-bold fs-s mod-center--nav__title">
|
||||
Resources
|
||||
</h3>
|
||||
|
|
|
|||
|
|
@ -2,22 +2,22 @@
|
|||
|
||||
<%= javascript_packs_with_chunks_tag "modCenter", defer: true %>
|
||||
|
||||
<div id="moderation-page"></div>
|
||||
<div id="moderation-page" aria-hidden="true"></div>
|
||||
|
||||
<% if current_user&.trusted %>
|
||||
<div class="crayons-layout crayons-layout--2-cols" id="mod-center">
|
||||
<%= render "moderations/mod_sidebar_left" %>
|
||||
<div class="mod-index-container articles-list crayons-layout__content">
|
||||
<header class="mod-index-header">
|
||||
<div class="mod-index-header">
|
||||
<h2 class="tag-view fs-3xl fw-bold lh-base">
|
||||
<%= @tag ? "##{@tag.name}" : "All topics" %>
|
||||
</h2>
|
||||
</header>
|
||||
<header class="mod-index-list-header lh-tight">
|
||||
</div>
|
||||
<div class="mod-index-list-header lh-tight">
|
||||
<h2 class="fs-xs fw-medium">Post</h2>
|
||||
<h2 class="fs-xs fw-medium">Author</h2>
|
||||
<h2 class="fs-xs fw-medium">Date</h2>
|
||||
</header>
|
||||
</div>
|
||||
<main class="mod-index-list" id="mod-index-list" data-articles="<%= @articles %>">
|
||||
</main>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue