UCF / UCF-Resource-Search-Plugin

Plugin for displaying a resource search and list of resources via a shortcode.
0 stars 0 forks source link

Filter nav items end up linking to elements on the page that don't exist #15

Open cjg89 opened 3 years ago

cjg89 commented 3 years ago

We get flagged in SiteImprove on pages where a resource search is included on the page with nav filters, due to each nav filter link linking out to page anchors that don't actually exist on the page.

Local link destination does not exist 1.3.1 Info and Relationships Description of this issue: A local link (anchor link) occurs but the destination does not exist. How to fix it: When using local links they must refer to an existing element on the page.

We need to update how these filter links work in a way to resolve the issue above. Maybe using <button>s instead of <a>s for each filter link would be a good place to start?