nextstrain / nextstrain.org

The Nextstrain website
https://nextstrain.org
GNU Affero General Public License v3.0
87 stars 49 forks source link

Use anchor for resource links #773

Open victorlin opened 6 months ago

victorlin commented 6 months ago

Description of proposed changes

The previous "links" relied on onClick which is bad for accessibility. If div is still desired, the link role would be appropriate.¹ Or, use an anchor element instead, as done in this commit.

¹ https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/link_role

Related issue(s)

N/A

Checklist