mirror of
https://github.com/miniflux/v2.git
synced 2025-09-15 18:57:04 +00:00
Added the role="article" to <article> elements for better accessibility with screen readers and chromium based browsers
This commit is contained in:
parent
2dcabc840c
commit
03fd403e38
9 changed files with 9 additions and 9 deletions
|
@ -1,7 +1,7 @@
|
|||
{{ define "feed_list" }}
|
||||
<div class="items">
|
||||
{{ range .feeds }}
|
||||
<article class="item {{ if ne .ParsingErrorCount 0 }}feed-parsing-error{{ else if ne .UnreadCount 0 }}feed-has-unread{{ end }}">
|
||||
<article role="article" class="item {{ if ne .ParsingErrorCount 0 }}feed-parsing-error{{ else if ne .UnreadCount 0 }}feed-has-unread{{ end }}">
|
||||
<div class="item-header" dir="auto">
|
||||
<span class="item-title">
|
||||
{{ if and (.Icon) (gt .Icon.IconID 0) }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue