File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 6
6
</li>
7
7
<txp:if_search>
8
8
<li class="current" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
9
- <b itemprop="name">Search results</b>
9
+ <b itemprop="name" aria-current="location" >Search results</b>
10
10
<meta itemprop="item" content="<txp:site_url />?q=">
11
11
<meta itemprop="position" content="2">
12
12
</li>
17
17
<meta itemprop="position" content="2">
18
18
</li>
19
19
<li class="current" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
20
- <b itemprop="name">Category: <txp:category title /></b>
20
+ <b itemprop="name" aria-current="location" >Category: <txp:category title /></b>
21
21
<meta itemprop="item" content="<txp:site_url />category/<txp:category />/">
22
22
<meta itemprop="position" content="3">
23
23
</li>
24
24
<txp:else />
25
25
<txp:if_article_list>
26
26
<li class="current" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
27
- <b itemprop="name"><txp:section title /></b>
27
+ <b itemprop="name" aria-current="location" ><txp:section title /></b>
28
28
<meta itemprop="item" content="<txp:section url />">
29
29
<meta itemprop="position" content="2">
30
30
</li>
34
34
<meta itemprop="position" content="2">
35
35
</li>
36
36
<li class="current" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
37
- <b itemprop="name"><txp:title /></b>
37
+ <b itemprop="name" aria-current="location" ><txp:title /></b>
38
38
<meta itemprop="item" content="<txp:permlink />">
39
39
<meta itemprop="position" content="3">
40
40
</li>
Original file line number Diff line number Diff line change 23
23
<a id="site-navigation-toggle" href="#" role="button" aria-controls="site-navigation">Menu</a>
24
24
<nav id="site-navigation" aria-label="Site navigation" itemscope itemtype="https://schema.org/SiteNavigationElement">
25
25
<ul>
26
- <li<txp:if_section name="start"> class="active"</txp:if_section>><a itemprop="url" href="<txp:site_url />start/">Get started</a></li>
26
+ <li<txp:if_section name="start"> class="active"</txp:if_section>><a itemprop="url" href="<txp:site_url />start/">Get started</a><txp:if_section name="weblog"> <span class="accessibility">(current section)</span></txp:if_section>< /li>
27
27
<li><a itemprop="url" href="https://docs.textpattern.com/">Documentation</a></li>
28
28
<li><a itemprop="url" href="<txp:site_url />themes">Themes</a></li>
29
29
<li><a itemprop="url" href="https://textpattern.org/">Plugins</a></li>
30
30
<li><a itemprop="url" href="https://forum.textpattern.com/">Forum</a></li>
31
- <li<txp:if_section name="weblog"> class="active"</txp:if_section>><a itemprop="url" href="<txp:site_url />weblog/">Blog</a></li>
32
- <li<txp:if_section name="about"> class="active"</txp:if_section>><a itemprop="url" href="<txp:site_url />about/">About</a></li>
31
+ <li<txp:if_section name="weblog"> class="active"</txp:if_section>><a itemprop="url" href="<txp:site_url />weblog/">Blog</a><txp:if_section name="weblog"> <span class="accessibility">(current section)</span></txp:if_section>< /li>
32
+ <li<txp:if_section name="about"> class="active"</txp:if_section>><a itemprop="url" href="<txp:site_url />about/">About</a><txp:if_section name="weblog"> <span class="accessibility">(current section)</span></txp:if_section>< /li>
33
33
</ul>
34
34
</nav>
35
35
</div>
Original file line number Diff line number Diff line change 127
127
<txp:etc_pagination range="3"
128
128
prev='<a rel="prev" href="{href}" title="Go to previous page" aria-label="Go to previous page">Previous</a>'
129
129
next='<a rel="next" href="{href}" title="Go to next page" aria-label="Go to next page">Next</a>'
130
- link='<li><a href="{href}" title="Go to page {*}" aria-label="Go to page {*}">{*}</a></li>,<li class="current"><b title="Current page" aria-label="Current page">{*}</b></li>'
130
+ link='<li><a href="{href}" title="Go to page {*}" aria-label="Go to page {*}">{*}</a></li>,<li class="current"><b title="Current page" aria-current=" page">{*}</b></li>'
131
131
gap='<li role="separator" title="More pages" aria-label="More pages">…</li>'
132
132
mask='{prev}<ul class="pagination">{first}{<+}{links}{+>}{last}</ul>{next}' />
133
133
</nav>
Original file line number Diff line number Diff line change @@ -277,7 +277,7 @@ foreach ($json->topic as $topic) {
277
277
<txp:etc_pagination range="3"
278
278
prev='<a rel="prev" href="{href}" title="Go to previous page" aria-label="Go to previous page">Previous</a>'
279
279
next='<a rel="next" href="{href}" title="Go to next page" aria-label="Go to next page">Next</a>'
280
- link='<li><a href="{href}" title="Go to page {*}" aria-label="Go to page {*}">{*}</a></li>,<li class="current"><b title="Current page" aria-label="Current page">{*}</b></li>'
280
+ link='<li><a href="{href}" title="Go to page {*}" aria-label="Go to page {*}">{*}</a></li>,<li class="current"><b title="Current page" aria-current=" page">{*}</b></li>'
281
281
gap='<li role="separator" title="More pages" aria-label="More pages">…</li>'
282
282
mask='{prev}<ul class="pagination">{first}{<+}{links}{+>}{last}</ul>{next}' />
283
283
</nav>
@@ -317,7 +317,7 @@ foreach ($json->topic as $topic) {
317
317
<txp:etc_pagination range="3"
318
318
prev='<a rel="prev" href="{href}" title="Go to previous page" aria-label="Go to previous page">Previous</a>'
319
319
next='<a rel="next" href="{href}" title="Go to next page" aria-label="Go to next page">Next</a>'
320
- link='<li><a href="{href}" title="Go to page {*}" aria-label="Go to page {*}">{*}</a></li>,<li class="current"><b title="Current page" aria-label="Current page">{*}</b></li>'
320
+ link='<li><a href="{href}" title="Go to page {*}" aria-label="Go to page {*}">{*}</a></li>,<li class="current"><b title="Current page" aria-current=" page">{*}</b></li>'
321
321
gap='<li role="separator" title="More pages" aria-label="More pages">…</li>'
322
322
mask='{prev}<ul class="pagination">{first}{<+}{links}{+>}{last}</ul>{next}' />
323
323
</nav>
You can’t perform that action at this time.
0 commit comments