CDRH / african_poetics

Orchid / Rails site for Contemporary African Poets part of African Poetics site
0 stars 0 forks source link

Fix empty links on "Browse News" page #329

Closed erinchambers closed 6 months ago

erinchambers commented 1 year ago

https://africanpoetics.unl.edu/inthenews/news

WAVE is showing a bunch of empty links in the "Browse by Tag" word cloud, which would slow down screen reader users significantly.

I'm wondering if this error is coming from the stray </span> tag after each link

<a class="btn cloud-smallest" role="button" href="[/inthenews/news/search?f%5B%5D=keywords%7CAmerica](view-source:https://africanpoetics.unl.edu/inthenews/news/search?f%5B%5D=keywords%7CAmerica)">
                America
</a>            </span>

            <a class="btn cloud-large" role="button" href="[/inthenews/news/search?f%5B%5D=keywords%7CBiafra](view-source:https://africanpoetics.unl.edu/inthenews/news/search?f%5B%5D=keywords%7CBiafra)">
                Biafra
</a>            </span>
erinchambers commented 6 months ago

Fixed in app/views/inthenewsnewsitems/home.html.erb