From d8d2d5d03132b67a65b7e78da37a949cada93cee Mon Sep 17 00:00:00 2001 From: George Mamadashvili Date: Thu, 15 Dec 2022 10:35:48 +0400 Subject: [PATCH] Change SpacingSizesControl ARIA from region to group (#46530) * Change SpacingSizesControl ARIA from region to group * Add changelog entry * Use the correct changelog file --- packages/block-editor/CHANGELOG.md | 6 +++++- .../src/components/spacing-sizes-control/index.js | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/block-editor/CHANGELOG.md b/packages/block-editor/CHANGELOG.md index 6abc73d7073b6..21666d999c1d1 100644 --- a/packages/block-editor/CHANGELOG.md +++ b/packages/block-editor/CHANGELOG.md @@ -8,7 +8,11 @@ ### Enhancements -- `URLInput`: the `renderSuggestions` callback prop now receives `currentInputValue` as a new parameter ([45806](https://github.com/WordPress/gutenberg/pull/45806)). +- `URLInput`: the `renderSuggestions` callback prop now receives `currentInputValue` as a new parameter ([45806](https://github.com/WordPress/gutenberg/pull/45806)). + +### Bug Fix + +- `SpacingSizesControl`: Change ARIA role from `region` to `group` to avoid unwanted ARIA landmark regions ([#46530](https://github.com/WordPress/gutenberg/pull/46530)). ## 10.5.0 (2022-11-16) diff --git a/packages/block-editor/src/components/spacing-sizes-control/index.js b/packages/block-editor/src/components/spacing-sizes-control/index.js index fb4ce2176b759..4ec1285db52bb 100644 --- a/packages/block-editor/src/components/spacing-sizes-control/index.js +++ b/packages/block-editor/src/components/spacing-sizes-control/index.js @@ -78,7 +78,6 @@ export default function SpacingSizesControl( { return (