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 editor. In a classic theme, use Appearance → Menus and enable the hidden field in Screen Options if necessary. In a block theme, edit the link in the Navigation block in Appearance → Editor. If you are asking “Where did the Title Attribute field go?”, you may be looking for the classic-menu control while your site uses block-based navigation.

A title attribute is optional supplementary information, not a replacement for clear, visible link text. Use the menu label to communicate the link’s essential purpose.

Choose the instructions for your theme

WordPress navigation can be managed either with the classic menu screen or with the block-based Navigation block. WordPress 6.0 introduced the Navigation block for block themes; whether the classic Appearance → Menus screen is available can depend on the theme and plugins. See the WordPress Appearance Menus documentation and the Navigation block guide.

Route Use it when What to know
Appearance → Menus Your site has the classic menu screen. The Title Attribute field may be hidden in Screen Options; screen availability depends on the theme and plugins. WordPress documentation.
Navigation block settings Your site uses block-based navigation in the Site Editor. WordPress.com’s instructions identify a Title Attribute field in block-theme link settings; controls can change between releases. WordPress.com Support and WordPress.org.
nav_menu_link_attributes filter You need programmatic control of links rendered through the classic menu API. It does not automatically govern Navigation blocks or custom renderers. Scope the change and inspect the output. WordPress Developer Resources.

Add the attribute in a classic menu

  1. In the WordPress dashboard, go to Appearance → Menus and select the menu you want to edit.
  2. At the top of the screen, open Screen Options. Under the advanced menu properties, check Title Attribute if it is not already enabled. WordPress describes the field as “The attribute used when displaying the label.” See the Appearance Menus Screen documentation.
  3. Expand the menu item you want to change. Enter supplementary text in its Title Attribute field. Keep the visible Navigation Label clear enough to explain the link’s purpose without that extra text.
  4. Select Save Menu.
  5. If you need to confirm the result, inspect the rendered link on the site. The classic walker can omit a stored title when it is empty or matches the menu/link title under its comparisons. See Walker_Nav_Menu.

Add the attribute in a block theme

  1. Open Appearance → Editor and edit the template or template part containing the site’s Navigation block, often the header.
  2. Select the relevant link in the Navigation block and open its link settings.
  3. Enter the supplementary text in Title Attribute, if that field is available in your installed editor, then save the site or editor changes.

WordPress.com’s current support instructions identify a Title Attribute field in block-theme link settings. The Navigation block is distinct from the classic menu screen, and its controls can change: the official Navigation block guide currently flags an overhaul for WordPress 7.1. If the labels or controls differ, follow the settings in the editor version installed on your site.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

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 the title attribute with code for classic menu output

For links rendered through wp_nav_menu() and the classic walker, WordPress provides the nav_menu_link_attributes filter. Its callback receives the anchor attributes, menu item, menu arguments and depth, and must return the modified attributes array. The filter dates to WordPress 3.6.0; its $depth parameter was added in 4.1.0. See the hook reference.

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 adjust the text to fit the link. The example shows how to target one item; it is illustrative, not a report of code tested on a live site. The stored field is represented as attr_title in the Nav_Menu_Items REST API reference. The classic walker derives a title from that field only under its non-empty and comparison conditions before applying link-attribute filters. A plugin, custom walker, Navigation block, theme or later filter can alter the rendered result, so inspect the intended anchor after implementation.

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

Use title text as a supplement, not essential content

A title attribute may provide extra information that clarifies a link, but do not rely on it to carry a warning, destination detail or other information visitors need before following the link. Put essential information in the visible link text. W3C WAI cautions: “Because of the extensive user agent limitations in supporting access to the title attribute, authors should use caution in applying this technique.” Its H33 page describes an example technique, not a requirement for WCAG conformance; the guidance on link purpose favors descriptive link text. See W3C WAI’s H33 technique and Understanding WCAG 2.4.9: Link Purpose.

Do not treat the title attribute as “alt text.” It is a different HTML attribute, and neither a consistent tooltip nor consistent assistive-technology support should be assumed.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
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.
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