Skip to content

Replace stylelint-a11y (edited) - #70

Closed
sabernhardt wants to merge 9 commits into
trunkfrom
13338-npm
Closed

sabernhardt wants to merge 9 commits into
trunkfrom
13338-npm

Conversation

@sabernhardt

@sabernhardt sabernhardt commented Nov 7, 2026 •

Copy link
Copy Markdown
Owner

(for comparison only; see WordPress#13338)

desrosj and others added 9 commits August 31, 2026 11:59
The `@double-great/stylelint-a11y` package is a fork of the original `stylelint-a11y` which has not been updated for over 7 years.
The front end underlines Button and File block buttons on both `:hover` and `:focus`, but the block editor styles only applied the underline on `:hover`.

In the editor, these elements are `RichText` fields (`contenteditable`) and do receive focus, so this adds the matching `:focus` selectors. This also resolves the `a11y/selector-pseudo-class-focus` linting violation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011Y86gx8u886tnkeJXZCUR1
This updates the theme's `.nvmrc` file and the `engines` field in `package.json` to require Node.js `24.18.0` and npm `11.16.0`, and adds a matching `devEngines` field. This brings Twenty Twenty in line with Core and the other default themes.

Follow-up to [63539].

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011Y86gx8u886tnkeJXZCUR1
…rsion.

Version `3.4.15` was previously used because `3.5.0` dropped support for Node.js 20.x. Now that the theme requires Node.js 24.x, the latest version (`3.8.3`) can be used.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011Y86gx8u886tnkeJXZCUR1
@sabernhardt sabernhardt closed this Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants