role button

This commit is contained in:
Mylloon 2023-10-16 11:39:43 +02:00
parent cc25147dba
commit 14695aa2f9
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@
{{/no_posts}} {{^no_posts}} {{/no_posts}} {{^no_posts}}
<ul> <ul>
{{#posts}} {{#posts}}
<li onclick="window.open('/blog/p/{{url}}', '_parent');"> <li role="button" onclick="window.open('/blog/p/{{url}}', '_parent');">
{{>blog/date.html}} {{>blog/date.html}}
<h2>{{title}}</h2> <h2>{{title}}</h2>
{{#desc}} {{#desc}}

View file

@ -1,5 +1,5 @@
{{#metadata}} {{#info}} {{#metadata}} {{#info}}
<li onclick="window.open('{{link}}', '_blank', 'noreferrer');"> <li role="button" onclick="window.open('{{link}}', '_blank', 'noreferrer');">
<div> <div>
<h3>{{title}}</h3> <h3>{{title}}</h3>
<span>{{&content}}</span> {{#language}} <span>{{&content}}</span> {{#language}}