Skip to content

Commit 648098b

Browse files
committed
Release 4.0.0-alpha.2
1 parent ab2ef9a commit 648098b

File tree

8 files changed

+34
-10
lines changed

8 files changed

+34
-10
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,22 @@
88

99
<!-- towncrier release notes start -->
1010

11+
## 4.0.0-alpha.2 (2025-10-28)
12+
13+
### Breaking
14+
15+
- Removed SemancticUI Button, use `@plone/components` button instead. @sneridagh [#30](https://github.com/kitconcept/volto-button-block/pull/30)
16+
17+
### Feature
18+
19+
- This PR improves accessibility by rendering a semantic `<a>` tag instead of a `<Button>` when the component is linked (data.href). Buttons are meant for actions, while links indicate navigation. Using the correct HTML element helps assistive technologies (like screen readers) interpret the component properly and enhances keyboard navigation and semantics.
20+
21+
In edit mode, the button is still wrapped in a ConditionalLink, as before. In view mode, a plain `<a>` tag is rendered when a link is present, and a `<Button>` is used only if no link exists.
22+
23+
@tomschall [#26](https://github.com/kitconcept/volto-button-block/pull/26)
24+
- Update Spanish translations #27 @macagua [#27](https://github.com/kitconcept/volto-button-block/pull/27)
25+
- Transfer VLT enhanced schema to the add-on. @sneridagh [#30](https://github.com/kitconcept/volto-button-block/pull/30)
26+
1127
## 4.0.0-alpha.1 (2025-10-28)
1228

1329
### Breaking

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kitconcept/volto-button-block-dev",
3-
"version": "4.0.0-alpha.1",
3+
"version": "4.0.0-alpha.2",
44
"description": "volto-button-block: Volto add-on that provides a configurable button as a block.",
55
"main": "src/index.js",
66
"license": "MIT",

packages/volto-button-block/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,22 @@
88

99
<!-- towncrier release notes start -->
1010

11+
## 4.0.0-alpha.2 (2025-10-28)
12+
13+
### Breaking
14+
15+
- Removed SemancticUI Button, use `@plone/components` button instead. @sneridagh [#30](https://github.com/kitconcept/volto-button-block/pull/30)
16+
17+
### Feature
18+
19+
- This PR improves accessibility by rendering a semantic `<a>` tag instead of a `<Button>` when the component is linked (data.href). Buttons are meant for actions, while links indicate navigation. Using the correct HTML element helps assistive technologies (like screen readers) interpret the component properly and enhances keyboard navigation and semantics.
20+
21+
In edit mode, the button is still wrapped in a ConditionalLink, as before. In view mode, a plain `<a>` tag is rendered when a link is present, and a `<Button>` is used only if no link exists.
22+
23+
@tomschall [#26](https://github.com/kitconcept/volto-button-block/pull/26)
24+
- Update Spanish translations #27 @macagua [#27](https://github.com/kitconcept/volto-button-block/pull/27)
25+
- Transfer VLT enhanced schema to the add-on. @sneridagh [#30](https://github.com/kitconcept/volto-button-block/pull/30)
26+
1127
## 4.0.0-alpha.1 (2025-10-28)
1228

1329
### Breaking

packages/volto-button-block/news/26.feature

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/volto-button-block/news/27.feature

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/volto-button-block/news/30.breaking

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/volto-button-block/news/30.feature

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/volto-button-block/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kitconcept/volto-button-block",
3-
"version": "4.0.0-alpha.1",
3+
"version": "4.0.0-alpha.2",
44
"description": "volto-button-block: Volto add-on that provides a configurable button as a block.",
55
"main": "src/index.ts",
66
"license": "MIT",

0 commit comments

Comments
 (0)