Skip to content

Commit

Permalink
fix: make title in item list clickable for screen readers to select t…
Browse files Browse the repository at this point in the history
…he current item

Signed-off-by: Wolfgang <[email protected]>
  • Loading branch information
wofferl committed Nov 28, 2024
1 parent 2cd2088 commit f3f4db2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ You can also check [on GitHub](https://github.com/nextcloud/news/releases), the

### Fixed
- use appropriate semantic HTML elements for the item list to be recognised by screen readers
- make title in item list clickable for screen readers to select the current item

# Releases
## [25.0.3] - 2024-11-27
Expand Down
6 changes: 5 additions & 1 deletion src/components/feed-display/FeedItemRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@
<div class="main-container" :class="{ 'compact': compactMode }">
<div class="title-container" :class="{ 'compact': compactMode, 'unread': item.unread }">
<h1 :dir="item.rtl && 'rtl'">
{{ item.title }}
<a href="#"
:title="t('news', 'Open article')"
@click="select()">
{{ item.title }}
</a>
</h1>
</div>

Expand Down

0 comments on commit f3f4db2

Please sign in to comment.