[6.x] Fix visible he-tree accessibility text in tree view#14465
Merged
jasonvarga merged 4 commits into6.xfrom Apr 9, 2026
Merged
[6.x] Fix visible he-tree accessibility text in tree view#14465jasonvarga merged 4 commits into6.xfrom
jasonvarga merged 4 commits into6.xfrom
Conversation
jasonvarga
requested changes
Apr 9, 2026
…age key Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Member
|
This needed to be applied to the nav tree too. It was being hidden with css, but the text was still hardcoded in English. If the package allowed passing the instructions as a prop like they do with label, we could get rid of that logic. I opened an issue: phphe/he-tree#165 |
jasonvarga
approved these changes
Apr 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request fixes an issue where the
@he-tree/vuetree component displays a visible "Use arrow keys to navigate..." message at the bottom of the tree view.This was happening because
@he-tree/vuev2.10.2 added accessibility features (screen-reader-only elements) that rely on a.he-tree-sr-onlyCSS class defined in the library's own stylesheet. Since Statamic doesn't import that stylesheet, the elements were rendered visibly.This PR fixes it by adding the
.he-tree-sr-onlystyles to Statamic's page tree CSS. It also overrides the library's hardcodedariaInstructionstext with a translatable string.Fixes #14463
Caused by #14459