Introducing Custom Attributes For Divi 5

Posted on September 11, 2025 by Leave a Comment

Get Divi TodayTry Divi Risk Free For 30 Days!
Introducing Custom Attributes For Divi 5
Blog / Theme Releases / Introducing Custom Attributes For Divi 5
Play Button

Today, we release Custom Attributes for Divi 5, which allows you to add any attribute, such as alt, title, rel, and aria-label, to elements and most sub-elements.

Divi has had support for specific attributes, such as class and ID, but now you can add any attribute to any element. This is especially important for accessibility, allowing you to, for example, add alt text to images, and roles and labels to non-semantic elements like an icon-based button.

Other attributes, such as anchor link targets or data attributes for custom applications, are also helpful!

Check out the following video to see the new feature in action. 👇

Add Any Attribute To Any Element

You’ll notice a new Attributes option group in the Advanced tab of all elements, which is your new interface for managing all types of attributes.

Add an attribute, select a target element, and give it a name and value. It’s as simple as that!

All elements support adding attributes to the main wrapper. In addition, most of the content elements defined in each module’s content tab also support custom attributes.

Using Custom Attributes To Improve Accessibility

Attributes play an essential role in accessibility. While Divi can add baseline attributes for elements, it can’t always predict how you will use each module or the content of each element on your page. With the new custom attributes system, you can always define the characteristics you need to ensure screen readers can understand your content.

For example, you may use Divi’s interaction system to build a custom pop-up, including an icon module that serves as the close button. In that case, you can use custom attributes to give that icon a role and an area label, telling screen readers that your icon element is a button that closes the pop-up.

Deprecating Old Attribute Settings

This new attributes option group manages all attributes. All other attribute-related settings have been deprecated and will be automatically migrated to the new system.

For example, if you have previously added a class or ID using the legacy CSS Class & ID option, those attributes will show up as list items in the new attributes option group.

Try Divi 5 Today

Custom Attributes for Divi 5 is available today and is one of many features coming to Divi this year.

You can follow along as we progress through the final release of Divi 5 and beyond, with updates every two weeks. Depending on your priorities, you can use Divi 5 now to build new websites or wait until we add more features, whatever works best for you.

As outlined in Divi 5’s original multi-phase release schedule, the Divi 5 Public Alpha is like “Divi 5 Lite.” It’s missing a few features and may not be suitable for existing websites, but it’s ready to be used on new websites if you prefer the experience to Divi 4.

We want you to try it, and if you love it, use it; when everyone loves it, we’ll make it official.

Have You Tried Divi 5’s New Responsive Editor?

In case you missed it, we recently released the new Responsive Editor for Divi 5.

This editor lets you quickly view, modify, and reset the responsive, hover, and sticky states for any setting while in any view mode.

In Divi 5, you get the best of both worlds: natural, intuitive editing, where all changes made while in a particular view mode apply automatically, and the new responsive editor, which allows you to make swift changes to all states at any time.

Watch this video for all the details. 👇

More Divi 5 Updates Are On The Way

2025 is the year of Divi 5. The tedious work is behind us. We built the super-fast foundation, and now it’s time for Divi to make its comeback.

If you’re here for the Divi comeback, do us a huge favor and let us know by liking this video and leaving a comment. It means a lot to us to see you cheering Divi on, and it’s essential to feed the algorithm and spread the word.

Don’t forget to follow us on YouTube and subscribe to the Divi newsletter so you never miss an update. I’ll see you soon for another Divi 5 feature announcement, which I promise will be right around the corner. 😁

Divi Marketplace

Are You A Divi User? Find Out How To Get More From Divi! 👇

Browse hundreds of modules and thousands of layouts.

Visit Marketplace
Divi Marketplace
Divi Cloud

Find Out How To Improve Your Divi Workflow 👇

Learn about the new way to manage your Divi assets.

Get Divi Cloud
Divi Cloud
Divi Hosting

Want To Speed Up Your Divi Website? Find Out How 👇

Get fast WordPress hosting optimized for Divi.

Speed Up Divi
Divi Hosting
Premade Layouts

Check Out These Related Posts

Introducing Divi 5’s New Responsive Editor

Introducing Divi 5’s New Responsive Editor

Posted on August 27, 2025 in Theme Releases

Today, we are excited to release a new responsive editor for Divi 5. This editor lets you quickly view, modify, and reset the responsive, hover, and sticky states for any setting while in any view mode. In Divi 5, you get the best of both worlds: natural, intuitive editing, where all changes made...

View Full Post
Introducing WooCommerce Product Modules For Divi 5

Introducing WooCommerce Product Modules For Divi 5

Posted on August 15, 2025 in Theme Releases

Today, we are releasing the first of two batches of WooCommerce modules for Divi 5. This first and more significant batch includes 17 of Divi’s 25 Woo modules, covering all the modules you need to build custom product and category pages. We’ll finish the remaining cart and checkout modules over...

View Full Post
New Group Carousel Module, Lottie Module And More!

New Group Carousel Module, Lottie Module And More!

Posted on August 8, 2025 in Theme Releases

Today, we released three new modules for Divi 5, including the much-requested Group Carousel module, which allows you to create any type of carousel or slider, including post-based carousels, using Divi 5’s new loop builder. We also added a Lottie module for easy JSON-based animations and an Icon...

View Full Post

Leave A Reply

Comments are reviewed and must adhere to our comments policy.

Join To Download Today