Improve frontend accessibility

This commit is contained in:
Thuvaraka Yogarajah committed 2026-06-14 11:58:04 +02:00
1 parent de1d3d2d63
commit af7271e2f8
25 files changed
+478 -225

No files matched your search

+5 -5
View File
@@ -7,23 +7,23 @@
<header class="topbar-shell">
<div class="topbar-search">
<i class="bi bi-search"></i>
<input id="topbarSearchInput" type="search" placeholder="Search">
<i class="bi bi-search" aria-hidden="true"></i>
<input id="topbarSearchInput" type="search" placeholder="Search" aria-label="Search prompts and creators">
</div>
<div class="topbar-actions">
<form action="/api/v1/auth/logout" method="post" class="topbar-logout-form">
<button class="topbar-icon-btn" type="submit" aria-label="Logout" title="Logout">
<i class="bi bi-box-arrow-right"></i>
<i class="bi bi-box-arrow-right" aria-hidden="true"></i>
</button>
</form>
<button class="topbar-icon-btn" type="button" aria-label="Messages" title="Messages" onclick="location.href='/chats.html'">
<i class="bi bi-chat-dots"></i>
<i class="bi bi-chat-dots" aria-hidden="true"></i>
</button>
<!-- Profile avatar on the right (must be changed with backend) -->
<button class="topbar-avatar-btn" type="button" aria-label="Profile" title="Profile" onclick="location.href='/profile.html'">
<img id="topbarAvatar" src="../images/content/cat.png" alt="Profile Picture" class="topbar-avatar">
<img id="topbarAvatar" src="../images/content/cat.png" alt="" class="topbar-avatar">
</button>
</div>
</header>