diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index 986c7fa19b9ea2..6f9291d27e1cdc 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -15,6 +15,7 @@ - `DateTimePicker`: fix onChange callback check so that it also works inside iframes ([#54669](https://github.com/WordPress/gutenberg/pull/54669)). - `FormTokenField`: Add `box-sizing` reset style and reset default padding ([#54734](https://github.com/WordPress/gutenberg/pull/54734)). - `SlotFill`: Pass `Component` instance to unregisterSlot ([#54765](https://github.com/WordPress/gutenberg/pull/54765)). +- `Button`: Remove `aria-selected` CSS selector from styling 'active' buttons ([#54931](https://github.com/WordPress/gutenberg/pull/54931)). ### Internal diff --git a/packages/components/src/button/style.scss b/packages/components/src/button/style.scss index 2d212ed9926216..0487d19db99df4 100644 --- a/packages/components/src/button/style.scss +++ b/packages/components/src/button/style.scss @@ -309,8 +309,7 @@ // Toggled style. &[aria-pressed="true"], - &[aria-pressed="mixed"], - &[aria-selected="true"] { + &[aria-pressed="mixed"] { color: $components-color-foreground-inverted; background: $components-color-foreground;