Skip to content

Commit 40b5b9d

Browse files
authored
Merge pull request #3758 from department-of-veterans-affairs/download-link-guidance
Download link update
2 parents 365148f + 91d1220 commit 40b5b9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_includes/content/links-vs-buttons.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
- It is important to use Action Links for calls to actions that link to another page rather than buttons, because screen readers always say “link” before links, and “button” before buttons.
55
- A good rule is if the action changes the URL, it should not be a button.
66
- Button and link confusion can be very frustrating for assistive technology users. A user with a screen reader may pull up a list of links and may not find a specific link because it turns out that it’s been designated as a button in the markup.
7-
- When a file download is involved, it is best to use a link. This is because links are intended for navigation, and downloading a file is a navigational action to a resource.
7+
- When a file download is involved, it is best to use the [download link](https://design.va.gov/components/link/#download) component. This is because links are intended for navigation, and downloading a file is a navigational action to a resource.

0 commit comments

Comments
 (0)