Revert "Fix aria on jobs page"

This commit is contained in:
Tom Byers
2020-09-10 17:34:05 +01:00
committed by GitHub
parent 5cf33791a7
commit 7589ee1cd5
2 changed files with 3 additions and 3 deletions

View File

@@ -11,7 +11,7 @@
{% for label, option, link, count in items %} {% for label, option, link, count in items %}
<li class="pill-item__container"> <li class="pill-item__container">
{% if current_value == option %} {% if current_value == option %}
<a id="pill-selected-item" class="pill-item pill-item--selected govuk-link govuk-link--no-visited-state{% if not show_count %} pill-item--centered{% endif %}" href="{{ link }}" aria-current="page"> <a class="pill-item pill-item--selected govuk-link govuk-link--no-visited-state{% if not show_count %} pill-item--centered{% endif %}" href="{{ link }}" aria-current="page">
{% else %} {% else %}
<a class="pill-item govuk-link govuk-link--no-visited-state" href="{{ link }}"> <a class="pill-item govuk-link govuk-link--no-visited-state" href="{{ link }}">
{% endif %} {% endif %}

View File

@@ -2,7 +2,7 @@
{% from "components/page-footer.html" import page_footer %} {% from "components/page-footer.html" import page_footer %}
{% from "components/form.html" import form_wrapper %} {% from "components/form.html" import form_wrapper %}
<section class="ajax-block-container" aria-labelledby="pill-selected-item"> <div class="ajax-block-container" aria-labelledby='pill-selected-item'>
{% if job.scheduled %} {% if job.scheduled %}
<p class="govuk-body"> <p class="govuk-body">
@@ -74,4 +74,4 @@
{% endif %} {% endif %}
{% endif %} {% endif %}
</section> </div>