Skip to content

Commit

Permalink
Merge pull request #411 from maykinmedia/fix/accesibility-sprint
Browse files Browse the repository at this point in the history
[#788] Accesibility fixes
  • Loading branch information
alextreme authored Jan 5, 2023
2 parents 255d428 + 8909fe5 commit bda8852
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{% for url, name in breadcrumbs %}
<li class="breadcrumbs__list-item">
{% if forloop.first %}
<a class="link link--secondary" href="{{url}}">
<a class="link link--secondary" href="{{url}}" title="{{ name }}" aria-label="{{ name }}">
{% icon icon="apps" %}
</a>
{% else %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% load i18n link_tags %}

{% url 'root' as root_url %}
{% link extra_classes="logo" text="Logo" hide_text=True href=href|default:root_url src=src alt=alt %}
{% link extra_classes="logo" text=alt hide_text=True href=href|default:root_url src=src alt=alt %}
2 changes: 1 addition & 1 deletion src/open_inwoner/templates/pages/product/detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{% block header_image %}
{% if object.image %}
<aside aria-hidden="true">
<img class="main-image main-image--start-after" src="{{ object.image.url }}" alt="Header image">
<img class="main-image main-image--start-after" src="{{ object.image.url }}">
</aside>
{% endif %}
{% endblock header_image %}
Expand Down
2 changes: 1 addition & 1 deletion src/open_inwoner/utils/context_processors.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def settings(request):
"show_plans": config.show_plans,
"show_actions": config.show_actions,
"menu_categories": Category.get_root_nodes().published(),
"search_form": SearchForm(),
"search_form": SearchForm(auto_id=False),
"has_general_faq_questions": Question.objects.general().exists(),
"settings": dict(
[(k, getattr(django_settings, k, None)) for k in public_settings]
Expand Down

0 comments on commit bda8852

Please sign in to comment.