Skip to content

Commit

Permalink
Change SpacingSizesControl ARIA from region to group (#46530)
Browse files Browse the repository at this point in the history
* Change SpacingSizesControl ARIA from region to group
* Add changelog entry
* Use the correct changelog file
  • Loading branch information
Mamaduka committed Dec 15, 2022
1 parent 1e6538b commit d8d2d5d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 5 additions & 1 deletion packages/block-editor/CHANGELOG.md
Expand Up @@ -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)

Expand Down
Expand Up @@ -78,7 +78,6 @@ export default function SpacingSizesControl( {

return (
<fieldset
role="region"
className={ classnames( 'component-spacing-sizes-control', {
'is-unlinked': ! isLinked,
} ) }
Expand Down

0 comments on commit d8d2d5d

Please sign in to comment.