Merge pull request #3623 from alphagov/revert-3620-fix-aria-on-jobs-page

Revert "Fix aria on jobs page"
This commit is contained in:
Tom Byers
2020-09-10 17:41:31 +01:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -11,7 +11,7 @@
{% for label, option, link, count in items %}
<li class="pill-item__container">
{% 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 %}
<a class="pill-item govuk-link govuk-link--no-visited-state" href="{{ link }}">
{% endif %}

View File

@@ -2,7 +2,7 @@
{% from "components/page-footer.html" import page_footer %}
{% 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 %}
<p class="govuk-body">
@@ -74,4 +74,4 @@
{% endif %}
{% endif %}
</section>
</div>