Skip to content

Commit 365148f

Browse files
authored
Merge pull request #3744 from department-of-veterans-affairs/download-link-guidance
Update link/button guidance for downloads
2 parents 55c86ee + e9d43c7 commit 365148f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +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.

0 commit comments

Comments
 (0)