1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-10-10 19:32:06 +00:00

Added the role="article" to <article> elements for better accessibility with screen readers and chromium based browsers

This commit is contained in:
Akash Kakkar 2021-10-23 02:20:17 +05:30 committed by GitHub
parent 2dcabc840c
commit 03fd403e38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 9 additions and 9 deletions

View file

@ -26,7 +26,7 @@
{{ else }}
<div class="items">
{{ range .entries }}
<article class="item {{ if $.user.EntrySwipe }}touch-item{{ end }} item-status-{{ .Status }}" data-id="{{ .ID }}">
<article role="article" class="item {{ if $.user.EntrySwipe }}touch-item{{ end }} item-status-{{ .Status }}" data-id="{{ .ID }}">
<div class="item-header" dir="auto">
<span class="item-title">
{{ if ne .Feed.Icon.IconID 0 }}