WordPress plugin
Attributes for Blocks
Allows to add HTML attributes to Gutenberg blocks.
- Active installs
- 4K+
- Rating
- 5.0 / 5
- Version
- 1.0.15
- Last updated
- Aug 20, 2026
- Tested up to
- WordPress 7.1.4
- Requires
- WP 6.2 · PHP 7.4
Health check
Is Attributes for Blocks safe to rely on?
Our reading of the public WordPress.org data: maintenance, compatibility, ratings and support.
Actively maintained
Last updated on August 20, 2026. Regular updates usually mean bugs and security reports get fixed.
Tested with current WordPress
The author has tested it up to WordPress 7.1.4.
Highly rated by users
Rated 5.0 out of 5 from 21 ratings on WordPress.org.
Requires PHP 7.4 or newer
Check your hosting PHP version before installing. Modern PHP is faster and receives security fixes.
Rank tracker
Where Attributes for Blocks ranks in WordPress.org search
Its position in WordPress.org plugin search for its tags and name, refreshed weekly so you can see how its visibility changes.
| Keyword | Position | Change | Trend | Current #1 |
|---|---|---|---|---|
| aria | ||||
| attributes | ||||
| blocks | ||||
| gutenberg | ||||
| style | ||||
| attributes for blocks |
Checked against the top 100 WordPress.org search results.
Overview
What Attributes for Blocks does
This plugin adds additional advanced inspector controls to Gutenberg blocks that allow to add any custom HTML attributes to the block’s front-end output. This allows you to add inline styles to fine-tune the block’s appearance, set aria attributes to improve your site’s accessibility, add data attributes to integrate with any JavaScript modules or even JavaScript DOM event attributes such as onclick, onchange or onload.
Description from the author's listing. Read the full listing on WordPress.org
Screenshots
Attributes for Blocks in action

FAQ
Attributes for Blocks: questions and answers
What is Attributes for Blocks?
Attributes for Blocks is a WordPress plugin by ska-dev. Allows to add HTML attributes to Gutenberg blocks.
Is Attributes for Blocks free?
Attributes for Blocks is listed in the WordPress.org plugin directory, so the version there is free to download and use. Some authors also sell paid add-ons or a premium edition with more features and support.
How many websites use Attributes for Blocks?
WordPress.org reports 4K+ active installations of Attributes for Blocks. That figure counts sites running the WordPress.org version and is rounded down by WordPress.org.
Is Attributes for Blocks still maintained?
Attributes for Blocks was last updated on August 20, 2026. The current version is 1.0.15. Check the changelog on WordPress.org and test updates on a staging site before applying them to a live site.
What does Attributes for Blocks require?
Attributes for Blocks requires WordPress 6.2 or newer and PHP 7.4 or newer. It has been tested up to WordPress 7.1.4.
Can Codefreex set up or customize Attributes for Blocks?
Yes. Codefreex installs, configures and customizes WordPress plugins including Attributes for Blocks, fixes conflicts and performance problems, and builds custom features when a plugin does not do exactly what you need. Send your site URL for a free review.
Free expert review
Need Attributes for Blocks set up, customized or fixed?
Tell us about your site and what you need this plugin to do. A senior WordPress developer replies within one business day with a plan and a quote.