Links and buttons

Using links and buttons appropriately is one of the 10 fundamental concepts that can support digital accessibility in all of your content.

Proper use of links and buttons helps people navigate digital content more quickly and effectively.

Clear, descriptive labels and consistent styling helps users know what to expect when activating a link or button. Labels also help people using screen readers understand the purpose of a link or button without having to read the text around it.

Links take users to new content, while buttons perform actions. 

When adding a link in a document or webpage, write unique, descriptive link text that describes the destination of the link. For example, a link that says “UW–‍Madison majors and certificates” will be easier to understand and use than a link that says “Read More” or is simply the URL pasted in text.

When adding a button in a webpage, start with an action verb and use concise text. For example, a button that says “Submit application” is better than “Click here to submit.”

Styling guidance

To ensure users can easily identify and use the links and buttons in your content, follow this styling guidance:

  • Make links stand out visually.
    • Do not rely on color alone to indicate a link. Use an underline to ensure people can tell it’s a link regardless of color.
    • Ensure good color contrast between link text and regular text. If a link is not underlined, it must have a contrast ratio of at least 3:1 with the surrounding text.
  • Ensure good color contrast for button text and colors used.
    • Button text should have a contrast ratio of at least 4.5:1 with the button fill color.
    • Button fill color should have a contrast ratio of at least 3:1 with the background page color.

Best practices for link behavior

  • Links should open new content in the same tab when possible, unless the user is completing a task on the current page and opening a link would erase their progress.
  • Inform users in the text or using HTML tags if a link will open a new tab or window.
  • Inform users if a link will open or download a special file type like a PDF.
  • Use links to take users to new content; use buttons to perform actions
  • Make links stand out visually (typically blue and underlined)
  • Ensure good color contrast for text used in links and buttons
  • Open new content in the same tab when possible

Fundamentals

Clipboard Icon

Download the checklist

Download our digital accessibility fundamentals checklist PDF to help you keep track of the core principles of accessibility while creating and editing digital resources.

Download the checklist

The Center for User Experience

At the Center for User Experience, we are committed to working with you to make digital spaces more accessible, usable and inclusive for all students, faculty and staff at UW–‍Madison. We help the university follow its Digital Accessibility Policy by offering free evaluation and consultation services to all UW–‍Madison community members. For guidance on complying with digital accessibility requirements, visit Digital accessibility and the Americans with Disabilities Act (ADA).

Get in touch

  • Meet with us: Book a quick chat with one of our team members to ask any questions you have.
  • Start a project with us: We support accessible design and development. Fill out our Let’s Connect form to begin working with us on your project or to request an accessibility evaluation.
  • Email us: Not sure if you’re ready to meet? Email us to start talking and figure out what to do next.