Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How you add a title attribute depends on your WordPress theme. Classic themes use Appearance → Menus; block themes (WordPress 6.0 and later) generally use the Navigation block in Appearance → Editor. If you cannot find a Title Attribute box, you are probably using the other editor—or the field is hidden in Screen Options.

Choose the editor that manages your menu

Route Use it when Important limitation
Classic Appearance → Menus Your site exposes the traditional menu screen through a classic or hybrid theme (or a plugin). The field may be hidden under Screen Options, and the screen is not the normal editor for block-theme navigation. WordPress documentation
Navigation block settings Your site uses a block theme and the Site Editor. Controls differ from the classic screen and may change as WordPress evolves. WordPress.com support Navigation block documentation
nav_menu_link_attributes filter You need repeatable, code-based control over links rendered by the classic menu API. It targets classic menu output; a Navigation block, custom walker, or another filter can produce different HTML. Developer reference

A title attribute is optional supporting text. Your visible navigation label must still explain the destination on its own; do not hide an essential warning or purpose in a tooltip.

Add the attribute in a classic theme

  1. In the WordPress dashboard, go to Appearance → Menus and choose the menu you want to edit.
  2. Open Screen Options at the top-right of the page. Under the advanced menu properties, enable Title Attribute if it is not already selected. WordPress describes this field as “The attribute used when displaying the label.” Appearance Menus Screen
  3. Expand the menu item, enter concise supplemental text in Title Attribute, and leave the Navigation Label as a clear, visible link name.
  4. Click Save Menu.
  5. Open a page containing the menu and inspect the relevant anchor in your browser’s developer tools if you need to confirm the rendered HTML.

The classic walker does not necessarily print a title attribute when the stored value is empty or duplicates the menu or link title. Therefore, entering the same words as the visible label may result in no title attribute in the final markup. Walker_Nav_Menu reference

Add it to a block-theme navigation menu

  1. Open Appearance → Editor.
  2. Edit the template or template part containing the site’s Navigation block, commonly the header.
  3. Select the individual navigation link and open its link settings. Current WordPress.com instructions identify a Title Attribute field in these settings for block-theme links. Advanced menu settings
  4. Enter useful supplemental text, then save the editor and site changes.

This is a block-based menu, not the classic Appearance → Menus screen. A classic menu interface can still be available on some hybrid themes or through plugins, so the presence of both screens does not prove that they edit the same navigation. WordPress’s Navigation block documentation also notes an overhaul planned for WordPress 7.1; labels and panel placement should be checked against the release installed on your site. Navigation block

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
GEEHUA 2 Pcs Laptop Shortcuts Stickers, Word/Excel Quick Reference Guide Keyboard Shortcut Stickers Notebook PVC Keyboard Shortcuts Lable Stickers for Any PC Laptop or Desktop(Black)
  • 【Efficiency】This is a perfect shortcut sticker, it contains a list of shortcuts for a lot of operating systems. Laptop Shortcuts Stickers allow you to save time and effort by eliminating the need to search online or memorize complex commands at any time to improve your productivity.
  • 【Durable Materials】Crafted from durable PVC material, these shortcut keyboard stickers are waterproof, oil-resistant, and tear-resistant. They withstand wear and tear, ensuring longevity without fading or smudging even with prolonged use. The self-adhesive backing facilitates easy replacement and residue-free removal.
  • 【Compatible】L*W: 3.34 x 2.36 in, Word/Excel Shortcuts Stickers are suitable for 14" and smaller laptops, compatible and fit most brand laptops or desktops running operating system.
  • 【How to Use】Avoid dust and contact with adhesives. Peel and fold the backing paper in half and gradually apply the sticker, squeezing out the air as you go. It can be completed in a few minutes.
  • 【Suitable for the Crowd】Whether you're a beginner or a seasoned computer professional, you can easily take your computer proficiency to the next level with our handy and affordable stickers. Also a great gift for kids, girls, teens, friends even colleagues.

Set a title programmatically for classic menus

For links generated through wp_nav_menu() and the classic walker, use the nav_menu_link_attributes filter. The callback receives the attributes array, menu item, menu arguments, and depth, and must return the modified array. The hook was introduced in WordPress 3.6.0; its $depth parameter was added in 4.1.0. nav_menu_link_attributes

<?php
add_filter( 'nav_menu_link_attributes', function ( $atts, $item, $args, $depth ) {
    if ( (int) $item->ID === 123 ) {
        $atts['title'] = 'Explore the services available to customers';
    }

    return $atts;
}, 10, 4 );

Replace 123 with the intended menu-item ID and scope the condition to that item (or to a deliberately defined set). The REST API represents the stored value as attr_title, the text for the link element’s title attribute. Nav_Menu_Items REST API reference

This filter only affects output that passes through the classic menu API. A block navigation renderer, custom walker, theme code, or later filter may change the result. After adding code, inspect the actual anchor and test desktop, mobile, and expanded submenu states.

Why the field is missing or the attribute does not appear

  • Screen Options is hiding it: On the classic menu screen, enable Title Attribute before expanding the menu item.
  • You are editing a block theme: Use Appearance → Editor and select the link inside the Navigation block instead of following classic-menu instructions.
  • The value matches the label: The classic walker can omit a stored title when it is empty or equivalent to the menu/link title.
  • The menu is rendered by another system: A Navigation block, custom walker, plugin, or later filter may not use the classic menu field or hook.
  • You forgot to save: Save the menu in the classic editor or save the site/editor changes in the Site Editor, then reload a page that actually uses that navigation.

Use title attributes without creating an accessibility problem

W3C WAI describes a title as extra information that may clarify a link’s purpose, but cautions: “Because of the extensive user agent limitations in supporting access to the title attribute, authors should use caution in applying this technique.” WCAG Technique H33

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
2pcs Windows Shortcut Sticker, Excel Cheat Sheet, Shortcut Stickers for Laptop, Reference Guide Keyboard Shortcut Sticker, Laptop Keyboard Stickers, Keyboard Shortcuts Cheat Sheet(Clear/Black)
  • 【Windows Shortcut Sticker】:Our 2pcs windows shortcut sticker is a must-have for anyone looking to enhance their productivity. These stickers provide a comprehensive list of essential shortcuts for Windows, making it easy to quickly look up commands without needing to search online. Perfect for any PC laptop or desktop, these stickers are a valuable addition to your laptop accessories collection
  • 【Excel Cheat Sheet & Laptop Accessories for Women】:Designed with both functionality and style in mind, our excel cheat sheet stickers are perfect for women who want to stay organized and efficient. These laptop accessories for women are not only practical but also add a touch of elegance to your device. The colorful design makes it easy to find the shortcuts you need, helping you work faster and smarter
  • 【Compatible】:Word/Excel Shortcuts Stickers are suitable for 14" and smaller laptops, compatible and fit most brand laptops or desktops running operating system
  • 【Office Gadgets & Cool Things for the Office】:These keyboard shortcuts cheat sheet stickers are perfect office gadgets that can significantly improve your workflow. Whether you're working from home or in the office, having these cool things for the office at your fingertips will help you navigate your computer with ease. The stickers are easy to apply and remove, leaving no residue behind, making them ideal for any workspace
  • 【What You will Receive】: You will receive 2 excel shortcut stickers, the size is about 3.35 × 2.36 inches, gradient color, I believe you will like it

Keep the essential destination, action, and any warning in the visible link text. If a visitor must know the information before activating the link, put it in the label or nearby visible content rather than relying on a hover tooltip. The title attribute is not alternative text, is not a replacement for a meaningful label, and is not consistently exposed by every browser or assistive technology. H33 is an example technique, not a requirement for WCAG conformance; the related WAI guidance prioritizes link text that communicates purpose. Understanding Link Purpose

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

The Bottom Line

Use Appearance → Menus plus Screen Options → Title Attribute for classic menus, the selected link’s settings in the Navigation block for block themes, or nav_menu_link_attributes for classic-menu code. Treat the attribute as optional supplementary text, never as a substitute for a clear visible label.

Best Value
NEW SOLIDWORKS Keyboard Decals Shortcuts for Desktop, Laptop and Notebook
  • The Best GIFT for any occasion
  • High-quality stickers for variety of existing keyboards Desktop, Laptop and Notebook
  • The SolidWorks stickers can easily transform your standard keyboard into a customised one within minutes, depending on your own need and preference.
  • Stickers are made of high-quality non-transparent - matt vinyl, thickness - 80mkn, typographical method.
  • The SolidWorks keyboard stickers are compatible with all default shortcuts in last version Solid Edge. Therefore, by applying them on your standard keyboard you immediately start editing 3D CAD with Solid Edge.
Rank #4
Synerlogic Windows PC Reference Keyboard Shortcut Sticker | Vinyl, Laminated Windows Shortcut Sticker for PC Laptop or Desktop | Shortcuts Cheat Sheet (Clear/Small)
  • 💻✔️ EVERY ESSENTIAL SHORTCUT - With the SYNERLOGIC Windows Reference Keyboard Shortcut Sticker, you have the most important shortcuts conveniently placed right in front of you. Easily learn new shortcuts and always be able to quickly lookup commands without the need to “Google” it.
  • 💻✔️ Work FASTER and SMARTER - Quick tips at your fingertips! This tool makes it easy to learn how to use your computer much faster and makes your workflow increase exponentially. It’s perfect for any age or skill level, students or seniors, at home, or in the office.
  • 💻 ✔️ New adhesive – stronger hold. It may leave a light residue when removed, but this wipes off easily with a soft cloth and warm, soapy water. Fewer air bubbles – for the smoothest finish, don’t peel off the entire backing at once. Instead, fold back a small section, line it up, and press gradually as you peel more. The “peel-and-stick-all-at-once” method only works for thin decals, not for stickers like ours.
  • 💻✔️ Compatible with Windows 10 AND 11.
  • ⚠️📐 STICKER SIZE - This sticker measures 3" wide and 2.5" tall and designed to fit 14" and smaller laptops. We have a larger sticker (for 15.6" and up) in our store as well.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.