fix(route): remove elements for screen readers (#21206)
This commit is contained in:
parent
3349076afe
commit
f7bea67c63
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue