fix(route): remove elements for screen readers (#21206)

This commit is contained in:
Tsung-Han Yu 2026-02-23 04:20:25 +08:00 committed by GitHub
parent 3349076afe
commit f7bea67c63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ async function handler() {
// Full HTML for the item content
article.find('h2').first().remove(); // remove title
article.find('b').first().remove(); // remove date
article.find('.sr-only').remove(); // remove sr-only elements
return {
title,