summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorubq323 <ubq323>2021-07-25 23:01:11 +0000
committerubq323 <ubq323>2021-07-25 23:01:11 +0000
commit40c337c3133410857b707689eec6d6eaf41951bc (patch)
tree0efa79b4691f03f6beaa268bb996f15bf7c4a1e9
parenta69e0cc27e41d9b71d23b94cf8bc1421dbba14df (diff)
aria label
-rw-r--r--apioforum/templates/base.html2
-rw-r--r--apioforum/templates/view_forum.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/apioforum/templates/base.html b/apioforum/templates/base.html
index ca1dd87..b97117f 100644
--- a/apioforum/templates/base.html
+++ b/apioforum/templates/base.html
@@ -10,7 +10,7 @@
<link rel="icon" href="//gh0.pw/favicon.ico">
</head>
<body>
- <nav id="navbar">
+ <nav aria-label="main" id="navbar">
<p style="font-family: monospace;"><b>apio</b><i>forum</i>&trade;</p>
<form class="inline-form" action="/search">
<input type="search" placeholder="query" name="q">
diff --git a/apioforum/templates/view_forum.html b/apioforum/templates/view_forum.html
index 9c3c2c5..473753d 100644
--- a/apioforum/templates/view_forum.html
+++ b/apioforum/templates/view_forum.html
@@ -92,7 +92,7 @@ please log in to create a new thread
</div>
{%endfor%}
</div>
-<nav id="pages">
+<nav aria-label="pagination" id="pages">
{% if page > 1 %}
<a href="{{url_for('forum.view_forum',forum_id=forum.id)}}" aria-label="first page">&lt;&lt;</a>
<a href="{{url_for('forum.view_forum',forum_id=forum.id,page=page-1)}}" aria-label="previous page">&lt;</a>