diff --git a/bin/plugin/commands/changelog.js b/bin/plugin/commands/changelog.js index c9e6d039596c5..c05ef63356ae8 100644 --- a/bin/plugin/commands/changelog.js +++ b/bin/plugin/commands/changelog.js @@ -75,6 +75,7 @@ const LABEL_TYPE_MAPPING = { 'Automated Testing': 'Tools', '[Package] Dependency Extraction Webpack Plugin': 'Tools', '[Type] Code Quality': 'Code Quality', + '[Type] Accessibility (a11y)': 'Accessibility', '[Type] Performance': 'Performance', '[Type] Security': 'Security', '[Feature] Navigation Screen': 'Experiments', @@ -125,7 +126,6 @@ const LABEL_FEATURE_MAPPING = { '[Block] Legacy Widget': 'Widgets Editor', 'REST API Interaction': 'REST API', 'New Block': 'Block Library', - 'Accessibility (a11y)': 'Accessibility', '[Package] E2E Tests': 'Testing', '[Package] E2E Test Utils': 'Testing', 'Automated Testing': 'Testing', @@ -149,6 +149,7 @@ const GROUP_TITLE_ORDER = [ 'Enhancements', 'New APIs', 'Bug Fixes', + `Accessibility`, 'Performance', 'Experiments', 'Documentation', diff --git a/bin/plugin/commands/test/__snapshots__/changelog.js.snap b/bin/plugin/commands/test/__snapshots__/changelog.js.snap index 2e79ecda56a7c..844dd34cc8dc2 100644 --- a/bin/plugin/commands/test/__snapshots__/changelog.js.snap +++ b/bin/plugin/commands/test/__snapshots__/changelog.js.snap @@ -8,7 +8,6 @@ exports[`getChangelog verify that the changelog is properly formatted 1`] = ` #### Components - Add new ColorPicker. ([33714](https://github.com/WordPress/gutenberg/pull/33714)) - Update snackbar to use framer motion instead of react spring. ([33717](https://github.com/WordPress/gutenberg/pull/33717)) -- Use updated range styles. ([33824](https://github.com/WordPress/gutenberg/pull/33824)) #### Block Library - [Post Featured Image]: Add basic dimension controls. ([31634](https://github.com/WordPress/gutenberg/pull/31634)) @@ -76,13 +75,18 @@ exports[`getChangelog verify that the changelog is properly formatted 1`] = ` #### Meta Boxes - Fix Safari 13 metaboxes from overlapping the content. ([33817](https://github.com/WordPress/gutenberg/pull/33817)) -#### Accessibility -- Fix some JAWS bugs. ([33627](https://github.com/WordPress/gutenberg/pull/33627)) - #### Template Editor - Template: Only show post template actions to users with correct capabilities. ([33392](https://github.com/WordPress/gutenberg/pull/33392)) +### Accessibility + +- Fix some JAWS bugs. ([33627](https://github.com/WordPress/gutenberg/pull/33627)) + +#### Components +- Use updated range styles. ([33824](https://github.com/WordPress/gutenberg/pull/33824)) + + ### Performance - Avoid double parsing the content when loading the editor. ([33727](https://github.com/WordPress/gutenberg/pull/33727)) diff --git a/bin/plugin/commands/test/fixtures/pull-requests.json b/bin/plugin/commands/test/fixtures/pull-requests.json index eccb2257a2c1f..d114d8b914911 100644 --- a/bin/plugin/commands/test/fixtures/pull-requests.json +++ b/bin/plugin/commands/test/fixtures/pull-requests.json @@ -5750,7 +5750,7 @@ "id": 546517042, "node_id": "MDU6TGFiZWw1NDY1MTcwNDI=", "url": "https://api.github.com/repos/WordPress/gutenberg/labels/Accessibility%20(a11y)", - "name": "Accessibility (a11y)", + "name": "[Type] Accessibility (a11y)", "color": "655104", "default": false, "description": "Changes that impact accessibility and need corresponding review (e.g. markup changes)." @@ -12552,7 +12552,7 @@ "id": 546517042, "node_id": "MDU6TGFiZWw1NDY1MTcwNDI=", "url": "https://api.github.com/repos/WordPress/gutenberg/labels/Accessibility%20(a11y)", - "name": "Accessibility (a11y)", + "name": "[Type] Accessibility (a11y)", "color": "655104", "default": false, "description": "Changes that impact accessibility and need corresponding review (e.g. markup changes)."