Repository navigation
Editor info link: tooltip "Annotation Editor Help" - #7595
Merged
Merged
Conversation
…name The tooltip of the info link above the annotation editor is now "Annotation Editor Help". The link's accessible name is now the same text. Before, the link had a `title` and a longer, different `aria-label`. A browser then uses the `title` as the link's description, so a screen reader read the tooltip out a second time after the name, and with a new tooltip the two would have said different things. Now what is shown on hover is what is announced, and what voice control listens for. The rest of the old name, "Learn what this text field is for. Opens Help Center article in a new tab.", is the link's description (`aria-describedby`). The element that holds it is `hidden`, so it is read only as the description and not again as text after the link. Its id comes from `useId`, so two editors open at once do not share one. Nothing else about the link changes, and it is still behind the `annotation_editor_info` flag. Part of hypothesis/product-backlog#1753. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7595 +/- ##
=======================================
Coverage 99.62% 99.62%
=======================================
Files 286 286
Lines 12061 12061
Branches 2935 2935
=======================================
Hits 12016 12016
Misses 45 45 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
The previous commit also changed the link's accessible name to match the new tooltip, and moved the rest of the sentence into a description. That is undone: the accessible name stays the sentence from hypothesis/product-backlog#1753, "About the Annotation editor. Learn what this text field is for. Opens Help Center article in a new tab.", as it was before this branch. Only the tooltip changes, to "Annotation Editor Help". The hidden description element, its `aria-describedby` and the tests for it are removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gmorador-tribu
approved these changes
Nov 12, 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.
Changes the tooltip of the info link above the annotation editor to "Annotation Editor Help". The accessible name stays as it was. The link is still behind the
annotation_editor_infoflag.Part of hypothesis/product-backlog#1753. Follows #7594.
What changes
title)aria-label)Because the tooltip differs from the accessible name, Chrome exposes the tooltip as the link's description, as it did before this change.
Nothing else about the link changes: place, icon, colour, size, destination, new tab, tab order, feature flag and Help panel rule.
Testing
The
MarkdownEditortooltip test checks the newtitleand the unchangedaria-label. Lint, typecheck and formatting pass, and the whole suite passes.Note: the final wording ("Annotation editor help", with an accessible description) was pushed to this branch after it was merged, so it is not in this PR. It is in a follow-up PR.
🤖 Generated with Claude Code