Skip to content
Snippets Groups Projects
Commit 9b527e71 authored by Alex Penczko's avatar Alex Penczko
Browse files

[TASK] add aria labels and aria current to jobs pagination

parent 174c1ec1
No related branches found
No related tags found
No related merge requests found
......@@ -584,6 +584,10 @@
<source><![CDATA[of]]></source>
<target><![CDATA[von]]></target>
</trans-unit>
<trans-unit id="pagebrowser.page" resname="pagebrowser.page">
<source><![CDATA[Page]]></source>
<target><![CDATA[Seite]]></target>
</trans-unit>
</body>
</file>
</xliff>
......@@ -450,6 +450,9 @@
<trans-unit id="backend.job.of" resname="backend.job.of">
<source><![CDATA[of]]></source>
</trans-unit>
<trans-unit id="pagebrowser.page" resname="pagebrowser.page">
<source><![CDATA[Page]]></source>
</trans-unit>
</body>
</file>
</xliff>
......@@ -59,7 +59,7 @@
<f:if condition="{pageLink.isCurrentPage}">
<f:then>
<li class="page-item active">
<a href="#" class="page-link">
<a href="#" class="page-link" aria-current="page" aria-label="{f:translate(key: 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:pagebrowser.page')} {pageLink.number}">
{pageLink.number}
</a>
</li>
......@@ -69,6 +69,7 @@
<f:if condition="{pageLink.page} <= 0">
<f:then>
<f:link.action addQueryString="untrusted" class="page-link"
additionalAttributes="{aria-label: '{f:translate(key: \'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:pagebrowser.page\')} {pageLink.number}'}"
argumentsToBeExcludedFromQueryString="{0: 'tx_sgjobs_pagebrowser'}">
{pageLink.number}
</f:link.action>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment