Attributes for Blocks
Allows to add HTML attributes to Gutenberg blocks.
The facts
- Rating
- 5★ from 21
- Active installs
- 4k+
- Price
- Free
- Last updated
- 20 Aug 2026
- Added
- Aug 2021
- Requires WP
- 6.2
- Tested up to
- WP 7.1
- Requires PHP
- 7.4
- Downloads
- 52,735
Our analysis
AI-assistedAttributes for Blocks is a WordPress plugin designed to enhance the Gutenberg block editor by allowing you to add custom HTML attributes to blocks. This functionality enables you to fine-tune the appearance of blocks through inline styles, improve accessibility with aria attributes, and integrate with JavaScript modules using data attributes.
This plugin is suitable for developers or site owners who want more control over the output of their Gutenberg blocks, particularly those who need to implement specific styles or JavaScript functionalities.
Best for: This plugin is best for developers or advanced users working with the Gutenberg block editor.
What it does well
- ✓Adds custom HTML attributes to Gutenberg blocks
- ✓Improves site accessibility with aria attributes
- ✓Allows integration with JavaScript modules
- ✓Supports inline styles for block appearance
Where it falls short
- •Limited information on additional features or use cases
Verdict
Attributes for Blocks provides useful enhancements for Gutenberg users seeking to customise their blocks. It is a straightforward tool for those familiar with HTML and JavaScript.
From the developer
ska-dev's own description of Attributes for Blocks, lightly tidied.
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.