• Home
  • Quick Start
  • Get Started
  • Infrastructure
  • General Web Instruction
  • Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
UT Shield
College of Fine Arts Drupal Instructions
  • Home
  • Quick Start
    • Editor Access, Workflow, Approvals & Roles
    • FAQs and Recommended Workflows
  • Get Started
    • The Dashboard
    • Content Types and Layout
      • Categories, Taxonomy and Terms
      • Landing Pages
      • Layout Builder Sections & Blocks
        • Listing Blocks
        • Reusable Blocks
        • Main Navigation Block
        • Quick Links Block
        • Featured Content Blocks
        • Ambient Video Block
      • Announcement Banner
      • Events
        • University Calendar Instructions
        • Pre-Filtered Link
    • Create, Publish, Edit, Unpublish, Delete, Archive
      • Content States: Published, Unpublished & Draft
      • Create Content
      • Edit Existing Content
      • Publishing Content
      • Delete, Unpublish, Archive
      • Revisions
      • Clone
    • Menus, Paths & Links
      • Editing Menus
      • URL Path Address
      • Create a Link
        • Linking to Another Spot on the Page
        • Pre-Filtered Link
        • Non-Visible Link Context and Visually Hidden
      • Secondary Menu
      • Duplicate Menu Label, URL or Title Issues
    • Rich Text Editor
      • Create a Link
        • Linking to Another Spot on the Page
        • Pre-Filtered Link
        • Non-Visible Link Context and Visually Hidden
      • Insert an Image
        • Left & Right Image Alignment
      • Insert a Document
      • Multimedia and Embeddable Content
      • Adding Hide/Reveal Elements
      • Tabular Data in Tables
      • Responsive Word Wrapping & Hyphenation
      • HTML Source
        • Hide on Desktop or Hide on Mobile
    • Media (Images, Documents & Videos) Management
      • Insert an Image
      • Insert a Document
      • Multimedia and Embeddable Content
  • Infrastructure
    • Site Search
    • Caching
    • Community Factors
    • Database vs. Code
    • Test Site
    • Release Cycles
  • General Web Instruction

Non-Visible Link Context and Visually Hidden

Last Updated January 2025

It’s a general best practice and required for accessibility to have contextually relevant links that set a clear expectation of where the link will go. Clickable text on your page, including the labels in the menu, should be unique and relevant to the context and clearly identify the target of the link. Learn more about the importance of unique clickable text.

On This Page

    • Add non-visible link context to links in the Rich Text Editor.
    • Links in the menu with the same label text that link to different places.
    • Learn More
      • Hide on Mobile or Desktop
      • Recommendations

Add Non-Visible Link Context

Preferred Method for Links:

  • In a Body field when you are using the Link button, insert the link as you normally would.
  • Click “Advanced” and enter the text you want to replace the visibly represented link text with in the “ARIA label” field.  The clickable link text that is seen on the screen will be replaced by the content in the ARIA label field when it is read to screen reader users.
    form for inserting a link in the body field showing the aria-label field.

Alternate Method to Hide Non-Visible Content:

  1. Select the text you want to hide.
  2. From the Styles drop-down, under the “Text styles” select the box “Visually hidden”
    Box that says Visually Hidden

This will add a span tag around the content with the class to visually hide it.

While this is no longer the preferred method for adding link context, you may see it utilized on older content and there are some additional use cases where hiding some content visually may be necessary, in those rare cases, this is the method we use.

In the Source code Source code button
You should see code like the following example:
<span class="visually-hide">about pandas</span>

Note that the class text “visually-hidden” will also work, but you won’t see the text in the editor. Therefore, using  “visually-hide” is easier for content creation.

Duplicate Menu Labels That Link to Different Pages

If your information architecture strategy results in duplicate menu label text, please reach out to he COFA Web team at cofawebmaster@austin.utexas.edu. It is possible for us to change the function of the “Description” field in the Main Navigation Menu interface so you can add additional visually hidden contextual text to the menu labels.

Learn More

Read more about techniques for using aria-labels for describing the purpose links.

Hide on Mobile or Desktop

Related to hiding visually is the ability to hide content based on the screen size.

Recommendations

Make sure the link text that is visible is functioning as expected by conducting usability testing. If the context is not clear it may be a barrier to all visitors, not  just those using assistive technology. Always consider best practices for link text and appearance.

Primary Sidebar

Open Office / Co-Working Sessions

Second Monday of the month:
11 a.m. – 12:30 p.m.

Fourth Thursday of the month:
2 p.m. – 3:30 p.m.

Email us for the Zoom link.

College of Fine Arts Web Instruction
Subscribe to our email list to receive periodic tips and resources for generating great digital content

Contact Us

The COFA Web team can be reached by emailing us at cofawebmaster@austin.utexas.edu

UT Home | Emergency Information | Site Policies | Web Accessibility | Web Privacy | Adobe Reader

© The University of Texas at Austin 2025