a11y: update URLs and (underlined) styles for help

This commit is contained in:
David Larlet 2025-02-28 14:11:27 -05:00
parent 4f5d37b676
commit ea58f93940
No known key found for this signature in database
GPG key ID: 3E2953A359E7E7BD
4 changed files with 7 additions and 3 deletions

View file

@ -274,7 +274,7 @@ UMAP_MAPS_PER_PAGE = 5
UMAP_MAPS_PER_SEARCH = 25
UMAP_MAPS_PER_PAGE_OWNER = 10
UMAP_SEARCH_CONFIGURATION = "simple"
UMAP_HELP_URL = "https://wiki.openstreetmap.org/wiki/UMap#Feedback_and_help"
UMAP_HELP_URL = "https://discover.umap-project.org/"
USER_MAPS_URL = "user_maps"
DATABASES = {
"default": env.db(

View file

@ -21,7 +21,7 @@ a {
text-decoration: none;
color: #1F5C39;
}
a[href^="http"] {
a[href^="http"]:not(nav.umap-nav a) {
text-decoration: underline;
}
button {

View file

@ -27,6 +27,10 @@ footer a.branding {
font-weight: bold;
padding-inline-start: 70px;
display: inline-block;
text-decoration: none;
}
footer a.branding:hover {
text-decoration: underline;
}
html[dir="rtl"] footer a.branding {
background-position: right center;

View file

@ -1,7 +1,7 @@
{% load i18n %}
<footer>
<a href="https://wiki.openstreetmap.org/wiki/UMap" class="branding">uMap</a>
<a href="{% url "home" %}" class="branding">uMap</a>
<span>{% trans "An OpenStreetMap project" %}
({% trans "version" %} <a href="https://docs.umap-project.org/en/stable/changelog/">{{ UMAP_VERSION }}</a>)</span>
{% if UMAP_HOST_INFOS.url and UMAP_HOST_INFOS.name %}<span>{% trans "Hosted by" %} <a href="{{ UMAP_HOST_INFOS.url }}">{{ UMAP_HOST_INFOS.name }}</a></span>{% endif %}