use more semantic headers for profile page (#1765)

This commit is contained in:
f0x52 2023-05-11 20:36:14 +02:00 committed by GitHub
parent 9cc9ffc5a7
commit 265cc32516
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -169,7 +169,7 @@
border-top-right-radius: $br; border-top-right-radius: $br;
padding: 0.75rem; padding: 0.75rem;
h3 { h1, h2 {
font-size: 1.2rem; font-size: 1.2rem;
line-height: 1.3rem; line-height: 1.3rem;
margin: 0; margin: 0;

View file

@ -61,7 +61,7 @@
<section class="about-user"> <section class="about-user">
<div class="col-header"> <div class="col-header">
<h3>About</h3> <h1>About</h1>
</div> </div>
<div class="fields"> <div class="fields">
@ -99,7 +99,7 @@
<section class="toots"> <section class="toots">
{{ if .pinned_statuses }} {{ if .pinned_statuses }}
<div class="col-header"> <div class="col-header">
<h3>Pinned posts</h3> <h2>Pinned posts</h2>
<a href="#recent">jump to recent</a> <a href="#recent">jump to recent</a>
</div> </div>
<section class="thread"> <section class="thread">
@ -112,7 +112,7 @@
{{ end }} {{ end }}
<div class="col-header"> <div class="col-header">
<h3 id="recent" tabindex="-1">Recent posts</h3> <h2 id="recent" tabindex="-1">Recent posts</h2>
{{ if .rssFeed }} {{ if .rssFeed }}
<a href="{{ .rssFeed }}" class="rss-icon" aria-label="RSS feed"> <a href="{{ .rssFeed }}" class="rss-icon" aria-label="RSS feed">
<i class="fa fa-rss-square" aria-hidden="true"></i> <i class="fa fa-rss-square" aria-hidden="true"></i>